]> git.sesse.net Git - vlc/blob - modules/gui/macosx/wizard.h
* added a summary-tab at the end of the wizard (mostly for debug-reasons, but perhaps...
[vlc] / modules / gui / macosx / wizard.h
1 /*****************************************************************************
2  * wizard.h: MacOS X Streaming Wizard
3  *****************************************************************************
4  * Copyright (C) 2005 VideoLAN
5  * $Id$
6  *
7  * Authors: Felix Kühne <fkuehne@users.sf.net> 
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  * 
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 /*****************************************************************************
25  * VLCWizard 
26  *****************************************************************************/
27  
28 #import <Cocoa/Cocoa.h>
29
30 @interface VLCWizard : NSObject
31 {
32     /* general items */
33         IBOutlet id o_btn_backward;
34     IBOutlet id o_btn_cancel;
35     IBOutlet id o_btn_forward;
36         IBOutlet id o_tab_pageHolder;
37     IBOutlet id o_wizard_window;
38         IBOutlet id o_wizardhelp_window;
39         IBOutlet id o_wh_txt_title;
40         IBOutlet id o_wh_txt_text;
41         IBOutlet id o_wh_btn_okay;
42         
43         /* page one ("Hello") */
44     IBOutlet id o_t1_btn_mrInfo_strmg;
45     IBOutlet id o_t1_btn_mrInfo_trnscd;
46     IBOutlet id o_t1_matrix_strmgOrTrnscd;
47     IBOutlet id o_t1_txt_notice;
48     IBOutlet id o_t1_txt_text;
49     IBOutlet id o_t1_txt_title;
50         
51         /* page two ("Input") */
52     IBOutlet id o_t2_box_prtExtrct;
53     IBOutlet id o_t2_ckb_enblPartExtrct;
54     IBOutlet id o_t2_btn_chooseFile;
55     IBOutlet id o_t2_fld_pathToNewStrm;
56     IBOutlet id o_t2_fld_prtExtrctFrom;
57     IBOutlet id o_t2_fld_prtExtrctTo;
58     IBOutlet id o_t2_matrix_inputSourceType;
59     IBOutlet id o_t2_tbl_plst;
60     IBOutlet id o_t2_text;
61     IBOutlet id o_t2_title;
62     IBOutlet id o_t2_txt_prtExtrctFrom;
63     IBOutlet id o_t2_txt_prtExtrctTo;
64         
65         /* page one ("Streaming 1") */
66     IBOutlet id o_t3_box_dest;
67     IBOutlet id o_t3_box_strmgMthd;
68     IBOutlet id o_t3_fld_address;
69     IBOutlet id o_t3_matrix_stmgMhd;
70     IBOutlet id o_t3_txt_destInfo;
71     IBOutlet id o_t3_txt_text;
72     IBOutlet id o_t3_txt_title;
73         
74         /* page four ("Transcode 1") */
75     IBOutlet id o_t4_box_audio;
76     IBOutlet id o_t4_box_video;
77     IBOutlet id o_t4_ckb_audio;
78     IBOutlet id o_t4_ckb_video;
79     IBOutlet id o_t4_pop_audioBitrate;
80     IBOutlet id o_t4_pop_audioCodec;
81     IBOutlet id o_t4_pop_videoBitrate;
82     IBOutlet id o_t4_pop_videoCodec;
83     IBOutlet id o_t4_text;
84     IBOutlet id o_t4_title;
85     IBOutlet id o_t4_txt_audioBitrate;
86     IBOutlet id o_t4_txt_videoBitrate;
87     IBOutlet id o_t4_txt_audioCodec;
88     IBOutlet id o_t4_txt_videoCodec;
89     IBOutlet id o_t4_txt_hintAudio;
90     IBOutlet id o_t4_txt_hintVideo;
91         
92         /* page five ("Encap") */
93     IBOutlet id o_t5_matrix_encap;
94     IBOutlet id o_t5_text;
95     IBOutlet id o_t5_title;
96         
97         /* page six ("Streaming 2") */
98     IBOutlet id o_t6_ckb_sap;
99     IBOutlet id o_t6_fld_sap;
100     IBOutlet id o_t6_fld_ttl;
101     IBOutlet id o_t6_text;
102     IBOutlet id o_t6_title;
103     IBOutlet id o_t6_txt_ttl;
104     IBOutlet id o_t6_btn_mrInfo_ttl;
105     IBOutlet id o_t6_btn_mrInfo_sap;
106         
107         /* page seven ("Transcode 2") */
108     IBOutlet id o_t7_btn_chooseFile;
109     IBOutlet id o_t7_fld_filePath;
110     IBOutlet id o_t7_text;
111     IBOutlet id o_t7_title;
112     IBOutlet id o_t7_txt_saveFileTo;
113         
114         /* page eight ("Summary") */
115         IBOutlet id o_t8_fld_destination;
116     IBOutlet id o_t8_fld_encapFormat;
117     IBOutlet id o_t8_fld_inptStream;
118     IBOutlet id o_t8_fld_partExtract;
119     IBOutlet id o_t8_fld_sap;
120     IBOutlet id o_t8_fld_saveFileTo;
121     IBOutlet id o_t8_fld_strmgMthd;
122     IBOutlet id o_t8_fld_trnscdAudio;
123     IBOutlet id o_t8_fld_trnscdVideo;
124     IBOutlet id o_t8_fld_ttl;
125     IBOutlet id o_t8_txt_destination;
126     IBOutlet id o_t8_txt_encapFormat;
127     IBOutlet id o_t8_txt_inputStream;
128     IBOutlet id o_t8_txt_partExtract;
129     IBOutlet id o_t8_txt_sap;
130     IBOutlet id o_t8_txt_saveFileTo;
131     IBOutlet id o_t8_txt_strmgMthd;
132     IBOutlet id o_t8_txt_text;
133     IBOutlet id o_t8_txt_title;
134     IBOutlet id o_t8_txt_trnscdAudio;
135     IBOutlet id o_t8_txt_trnscdVideo;
136     IBOutlet id o_t8_txt_ttl;
137         
138         NSMutableDictionary * o_userSelections;
139         NSArray * o_videoCodecs;
140         NSArray * o_audioCodecs;
141 }
142 - (IBAction)cancelRun:(id)sender;
143 - (IBAction)nextTab:(id)sender;
144 - (IBAction)prevTab:(id)sender;
145 - (IBAction)t1_mrInfo_streaming:(id)sender;
146 - (IBAction)t1_mrInfo_transcode:(id)sender;
147 - (IBAction)t2_addNewStream:(id)sender;
148 - (IBAction)t2_chooseStreamOrPlst:(id)sender;
149 - (IBAction)t2_enableExtract:(id)sender;
150 - (IBAction)t3_addressEntered:(id)sender;
151 - (IBAction)t4_AudCdcChanged:(id)sender;
152 - (IBAction)t4_enblAudTrnscd:(id)sender;
153 - (IBAction)t4_enblVidTrnscd:(id)sender;
154 - (IBAction)t4_VidCdcChanged:(id)sender;
155 - (IBAction)t6_enblSapAnnce:(id)sender;
156 - (IBAction)t6_mrInfo_ttl:(id)sender;
157 - (IBAction)t6_mrInfo_sap:(id)sender;
158 - (IBAction)t7_selectTrnscdDestFile:(id)sender;
159 - (IBAction)wh_closeSheet:(id)sender;
160
161 + (VLCWizard *)sharedInstance;
162 - (void)showWizard;
163 - (void)showSummary;
164 @end