]> git.sesse.net Git - vlc/blob - modules/gui/macosx/wizard.h
OSX:
[vlc] / modules / gui / macosx / wizard.h
1 /*****************************************************************************
2  * wizard.h: MacOS X Streaming Wizard
3  *****************************************************************************
4  * Copyright (C) 2005 the VideoLAN team
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         IBOutlet id o_t3_txt_strgMthdInfo;
74         
75         /* page four ("Transcode 1") */
76     IBOutlet id o_t4_box_audio;
77     IBOutlet id o_t4_box_video;
78     IBOutlet id o_t4_ckb_audio;
79     IBOutlet id o_t4_ckb_video;
80     IBOutlet id o_t4_pop_audioBitrate;
81     IBOutlet id o_t4_pop_audioCodec;
82     IBOutlet id o_t4_pop_videoBitrate;
83     IBOutlet id o_t4_pop_videoCodec;
84     IBOutlet id o_t4_text;
85     IBOutlet id o_t4_title;
86     IBOutlet id o_t4_txt_audioBitrate;
87     IBOutlet id o_t4_txt_videoBitrate;
88     IBOutlet id o_t4_txt_audioCodec;
89     IBOutlet id o_t4_txt_videoCodec;
90     IBOutlet id o_t4_txt_hintAudio;
91     IBOutlet id o_t4_txt_hintVideo;
92         
93         /* page five ("Encap") */
94     IBOutlet id o_t5_matrix_encap;
95     IBOutlet id o_t5_text;
96     IBOutlet id o_t5_title;
97         
98         /* page six ("Streaming 2") */
99     IBOutlet id o_t6_ckb_sap;
100     IBOutlet id o_t6_fld_sap;
101     IBOutlet id o_t6_fld_ttl;
102     IBOutlet id o_t6_text;
103     IBOutlet id o_t6_title;
104     IBOutlet id o_t6_txt_ttl;
105     IBOutlet id o_t6_btn_mrInfo_ttl;
106     IBOutlet id o_t6_btn_mrInfo_sap;
107         
108         /* page seven ("Transcode 2") */
109     IBOutlet id o_t7_btn_chooseFile;
110     IBOutlet id o_t7_fld_filePath;
111     IBOutlet id o_t7_text;
112     IBOutlet id o_t7_title;
113     IBOutlet id o_t7_txt_saveFileTo;
114         
115         /* page eight ("Summary") */
116         IBOutlet id o_t8_fld_destination;
117     IBOutlet id o_t8_fld_encapFormat;
118     IBOutlet id o_t8_fld_inptStream;
119     IBOutlet id o_t8_fld_partExtract;
120     IBOutlet id o_t8_fld_sap;
121     IBOutlet id o_t8_fld_saveFileTo;
122     IBOutlet id o_t8_fld_strmgMthd;
123     IBOutlet id o_t8_fld_trnscdAudio;
124     IBOutlet id o_t8_fld_trnscdVideo;
125     IBOutlet id o_t8_fld_ttl;
126         IBOutlet id o_t8_fld_mrl;
127     IBOutlet id o_t8_txt_destination;
128     IBOutlet id o_t8_txt_encapFormat;
129     IBOutlet id o_t8_txt_inputStream;
130     IBOutlet id o_t8_txt_partExtract;
131     IBOutlet id o_t8_txt_sap;
132     IBOutlet id o_t8_txt_saveFileTo;
133     IBOutlet id o_t8_txt_strmgMthd;
134     IBOutlet id o_t8_txt_text;
135     IBOutlet id o_t8_txt_title;
136     IBOutlet id o_t8_txt_trnscdAudio;
137     IBOutlet id o_t8_txt_trnscdVideo;
138     IBOutlet id o_t8_txt_ttl;
139         IBOutlet id o_t8_txt_mrl;
140         
141         NSMutableDictionary * o_userSelections;
142         NSArray * o_videoCodecs;
143         NSArray * o_audioCodecs;
144         NSArray * o_encapFormats;
145         NSArray * o_strmgMthds;
146         NSString * o_opts;
147 }
148 - (IBAction)cancelRun:(id)sender;
149 - (IBAction)nextTab:(id)sender;
150 - (IBAction)prevTab:(id)sender;
151 - (IBAction)t1_mrInfo_streaming:(id)sender;
152 - (IBAction)t1_mrInfo_transcode:(id)sender;
153 - (IBAction)t2_addNewStream:(id)sender;
154 - (IBAction)t2_chooseStreamOrPlst:(id)sender;
155 - (IBAction)t2_enableExtract:(id)sender;
156 - (IBAction)t3_strmMthdChanged:(id)sender;
157 - (IBAction)t4_AudCdcChanged:(id)sender;
158 - (IBAction)t4_enblAudTrnscd:(id)sender;
159 - (IBAction)t4_enblVidTrnscd:(id)sender;
160 - (IBAction)t4_VidCdcChanged:(id)sender;
161 - (IBAction)t6_enblSapAnnce:(id)sender;
162 - (IBAction)t6_mrInfo_ttl:(id)sender;
163 - (IBAction)t6_mrInfo_sap:(id)sender;
164 - (IBAction)t7_selectTrnscdDestFile:(id)sender;
165 - (IBAction)wh_closeSheet:(id)sender;
166
167 + (VLCWizard *)sharedInstance;
168
169 - (void)showWizard;
170 - (void)showSummary;
171 - (void)resetWizard;
172 - (void)createOpts;
173 @end