]> git.sesse.net Git - vlc/blob - modules/gui/macosx/wizard.h
FSF address change.
[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., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, 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     IBOutlet id o_playlist_wizard;
43     
44     /* page one ("Hello") */
45     IBOutlet id o_t1_btn_mrInfo_strmg;
46     IBOutlet id o_t1_btn_mrInfo_trnscd;
47     IBOutlet id o_t1_matrix_strmgOrTrnscd;
48     IBOutlet id o_t1_txt_notice;
49     IBOutlet id o_t1_txt_text;
50     IBOutlet id o_t1_txt_title;
51     
52     /* page two ("Input") */
53     IBOutlet id o_t2_box_prtExtrct;
54     IBOutlet id o_t2_ckb_enblPartExtrct;
55     IBOutlet id o_t2_btn_chooseFile;
56     IBOutlet id o_t2_fld_pathToNewStrm;
57     IBOutlet id o_t2_fld_prtExtrctFrom;
58     IBOutlet id o_t2_fld_prtExtrctTo;
59     IBOutlet id o_t2_matrix_inputSourceType;
60     IBOutlet id o_t2_tbl_plst;
61     IBOutlet id o_t2_text;
62     IBOutlet id o_t2_title;
63     IBOutlet id o_t2_txt_prtExtrctFrom;
64     IBOutlet id o_t2_txt_prtExtrctTo;
65     
66     /* page one ("Streaming 1") */
67     IBOutlet id o_t3_box_dest;
68     IBOutlet id o_t3_box_strmgMthd;
69     IBOutlet id o_t3_fld_address;
70     IBOutlet id o_t3_matrix_stmgMhd;
71     IBOutlet id o_t3_txt_destInfo;
72     IBOutlet id o_t3_txt_text;
73     IBOutlet id o_t3_txt_title;
74     IBOutlet id o_t3_txt_strgMthdInfo;
75     
76     /* page four ("Transcode 1") */
77     IBOutlet id o_t4_box_audio;
78     IBOutlet id o_t4_box_video;
79     IBOutlet id o_t4_ckb_audio;
80     IBOutlet id o_t4_ckb_video;
81     IBOutlet id o_t4_pop_audioBitrate;
82     IBOutlet id o_t4_pop_audioCodec;
83     IBOutlet id o_t4_pop_videoBitrate;
84     IBOutlet id o_t4_pop_videoCodec;
85     IBOutlet id o_t4_text;
86     IBOutlet id o_t4_title;
87     IBOutlet id o_t4_txt_audioBitrate;
88     IBOutlet id o_t4_txt_videoBitrate;
89     IBOutlet id o_t4_txt_audioCodec;
90     IBOutlet id o_t4_txt_videoCodec;
91     IBOutlet id o_t4_txt_hintAudio;
92     IBOutlet id o_t4_txt_hintVideo;
93     
94     /* page five ("Encap") */
95     IBOutlet id o_t5_matrix_encap;
96     IBOutlet id o_t5_text;
97     IBOutlet id o_t5_title;
98     
99     /* page six ("Streaming 2") */
100     IBOutlet id o_t6_ckb_sap;
101     IBOutlet id o_t6_fld_sap;
102     IBOutlet id o_t6_fld_ttl;
103     IBOutlet id o_t6_text;
104     IBOutlet id o_t6_title;
105     IBOutlet id o_t6_txt_ttl;
106     IBOutlet id o_t6_btn_mrInfo_ttl;
107     IBOutlet id o_t6_btn_mrInfo_sap;
108     IBOutlet id o_t6_btn_mrInfo_local;
109     IBOutlet id o_t6_ckb_local;
110     
111     /* page seven ("Transcode 2") */
112     IBOutlet id o_t7_btn_chooseFile;
113     IBOutlet id o_t7_fld_filePath;
114     IBOutlet id o_t7_text;
115     IBOutlet id o_t7_title;
116     IBOutlet id o_t7_txt_saveFileTo;
117     IBOutlet id o_t7_btn_mrInfo_local;
118     IBOutlet id o_t7_ckb_local;
119     
120     /* page eight ("Summary") */
121     IBOutlet id o_t8_fld_destination;
122     IBOutlet id o_t8_fld_encapFormat;
123     IBOutlet id o_t8_fld_inptStream;
124     IBOutlet id o_t8_fld_partExtract;
125     IBOutlet id o_t8_fld_sap;
126     IBOutlet id o_t8_fld_saveFileTo;
127     IBOutlet id o_t8_fld_strmgMthd;
128     IBOutlet id o_t8_fld_trnscdAudio;
129     IBOutlet id o_t8_fld_trnscdVideo;
130     IBOutlet id o_t8_fld_ttl;
131     IBOutlet id o_t8_fld_mrl;
132     IBOutlet id o_t8_fld_local;
133     IBOutlet id o_t8_txt_destination;
134     IBOutlet id o_t8_txt_encapFormat;
135     IBOutlet id o_t8_txt_inputStream;
136     IBOutlet id o_t8_txt_partExtract;
137     IBOutlet id o_t8_txt_sap;
138     IBOutlet id o_t8_txt_saveFileTo;
139     IBOutlet id o_t8_txt_strmgMthd;
140     IBOutlet id o_t8_txt_text;
141     IBOutlet id o_t8_txt_title;
142     IBOutlet id o_t8_txt_trnscdAudio;
143     IBOutlet id o_t8_txt_trnscdVideo;
144     IBOutlet id o_t8_txt_ttl;
145     IBOutlet id o_t8_txt_mrl;
146     IBOutlet id o_t8_txt_local;
147     
148     NSMutableDictionary * o_userSelections;
149     NSArray * o_videoCodecs;
150     NSArray * o_audioCodecs;
151     NSArray * o_encapFormats;
152     NSArray * o_strmgMthds;
153     NSString * o_opts;
154 }
155 - (IBAction)cancelRun:(id)sender;
156 - (IBAction)nextTab:(id)sender;
157 - (IBAction)prevTab:(id)sender;
158 - (IBAction)t1_mrInfo_streaming:(id)sender;
159 - (IBAction)t1_mrInfo_transcode:(id)sender;
160 - (IBAction)t2_addNewStream:(id)sender;
161 - (IBAction)t2_chooseStreamOrPlst:(id)sender;
162 - (IBAction)t2_enableExtract:(id)sender;
163 - (IBAction)t3_strmMthdChanged:(id)sender;
164 - (IBAction)t4_AudCdcChanged:(id)sender;
165 - (IBAction)t4_enblAudTrnscd:(id)sender;
166 - (IBAction)t4_enblVidTrnscd:(id)sender;
167 - (IBAction)t4_VidCdcChanged:(id)sender;
168 - (IBAction)t6_enblSapAnnce:(id)sender;
169 - (IBAction)t6_mrInfo_ttl:(id)sender;
170 - (IBAction)t6_mrInfo_sap:(id)sender;
171 - (IBAction)t67_mrInfo_local:(id)sender;
172 - (IBAction)t7_selectTrnscdDestFile:(id)sender;
173 - (IBAction)wh_closeSheet:(id)sender;
174
175 + (VLCWizard *)sharedInstance;
176
177 - (void)showWizard;
178 - (void)showSummary;
179 - (void)resetWizard;
180 - (void)createOpts;
181 - (void)rebuildCodecMenus;
182 - (id)getPlaylistWizard;
183 - (void)initWithExtractValuesFrom: (NSString *)from to: (NSString *)to \
184     ofItem: (NSString *)item;
185
186 @end