]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/wizard.h
* implement the extract-button of the bookmarks-window correctly (refs #22)
[vlc] / modules / gui / macosx / wizard.h
index 6c7c05746fb69410137012d7e79600fdee4d2629..690f63524fedee24975dfb003937186dd8c31a61 100644 (file)
 #import <Cocoa/Cocoa.h>
 
 @interface VLCWizard : NSObject
-{
+{    
     /* general items */
-       IBOutlet id o_btn_backward;
+    IBOutlet id o_btn_backward;
     IBOutlet id o_btn_cancel;
     IBOutlet id o_btn_forward;
-       IBOutlet id o_tab_pageHolder;
+    IBOutlet id o_tab_pageHolder;
     IBOutlet id o_wizard_window;
-       IBOutlet id o_wizardhelp_window;
-       IBOutlet id o_wh_txt_title;
-       IBOutlet id o_wh_txt_text;
-       IBOutlet id o_wh_btn_okay;
-       
-       /* page one ("Hello") */
+    IBOutlet id o_wizardhelp_window;
+    IBOutlet id o_wh_txt_title;
+    IBOutlet id o_wh_txt_text;
+    IBOutlet id o_wh_btn_okay;
+    IBOutlet id o_playlist_wizard;
+    
+    /* page one ("Hello") */
     IBOutlet id o_t1_btn_mrInfo_strmg;
     IBOutlet id o_t1_btn_mrInfo_trnscd;
     IBOutlet id o_t1_matrix_strmgOrTrnscd;
     IBOutlet id o_t1_txt_notice;
     IBOutlet id o_t1_txt_text;
     IBOutlet id o_t1_txt_title;
-       
-       /* page two ("Input") */
+    
+    /* page two ("Input") */
     IBOutlet id o_t2_box_prtExtrct;
     IBOutlet id o_t2_ckb_enblPartExtrct;
     IBOutlet id o_t2_btn_chooseFile;
@@ -61,8 +62,8 @@
     IBOutlet id o_t2_title;
     IBOutlet id o_t2_txt_prtExtrctFrom;
     IBOutlet id o_t2_txt_prtExtrctTo;
-       
-       /* page one ("Streaming 1") */
+    
+    /* page one ("Streaming 1") */
     IBOutlet id o_t3_box_dest;
     IBOutlet id o_t3_box_strmgMthd;
     IBOutlet id o_t3_fld_address;
@@ -70,9 +71,9 @@
     IBOutlet id o_t3_txt_destInfo;
     IBOutlet id o_t3_txt_text;
     IBOutlet id o_t3_txt_title;
-       IBOutlet id o_t3_txt_strgMthdInfo;
-       
-       /* page four ("Transcode 1") */
+    IBOutlet id o_t3_txt_strgMthdInfo;
+    
+    /* page four ("Transcode 1") */
     IBOutlet id o_t4_box_audio;
     IBOutlet id o_t4_box_video;
     IBOutlet id o_t4_ckb_audio;
     IBOutlet id o_t4_txt_videoCodec;
     IBOutlet id o_t4_txt_hintAudio;
     IBOutlet id o_t4_txt_hintVideo;
-       
-       /* page five ("Encap") */
+    
+    /* page five ("Encap") */
     IBOutlet id o_t5_matrix_encap;
     IBOutlet id o_t5_text;
     IBOutlet id o_t5_title;
-       
-       /* page six ("Streaming 2") */
+    
+    /* page six ("Streaming 2") */
     IBOutlet id o_t6_ckb_sap;
     IBOutlet id o_t6_fld_sap;
     IBOutlet id o_t6_fld_ttl;
     IBOutlet id o_t6_txt_ttl;
     IBOutlet id o_t6_btn_mrInfo_ttl;
     IBOutlet id o_t6_btn_mrInfo_sap;
-       
-       /* page seven ("Transcode 2") */
+    
+    /* page seven ("Transcode 2") */
     IBOutlet id o_t7_btn_chooseFile;
     IBOutlet id o_t7_fld_filePath;
     IBOutlet id o_t7_text;
     IBOutlet id o_t7_title;
     IBOutlet id o_t7_txt_saveFileTo;
-       
-       /* page eight ("Summary") */
-       IBOutlet id o_t8_fld_destination;
+    
+    /* page eight ("Summary") */
+    IBOutlet id o_t8_fld_destination;
     IBOutlet id o_t8_fld_encapFormat;
     IBOutlet id o_t8_fld_inptStream;
     IBOutlet id o_t8_fld_partExtract;
     IBOutlet id o_t8_fld_trnscdAudio;
     IBOutlet id o_t8_fld_trnscdVideo;
     IBOutlet id o_t8_fld_ttl;
-       IBOutlet id o_t8_fld_mrl;
+    IBOutlet id o_t8_fld_mrl;
     IBOutlet id o_t8_txt_destination;
     IBOutlet id o_t8_txt_encapFormat;
     IBOutlet id o_t8_txt_inputStream;
     IBOutlet id o_t8_txt_trnscdAudio;
     IBOutlet id o_t8_txt_trnscdVideo;
     IBOutlet id o_t8_txt_ttl;
-       IBOutlet id o_t8_txt_mrl;
-       
-       NSMutableDictionary * o_userSelections;
-       NSArray * o_videoCodecs;
-       NSArray * o_audioCodecs;
-       NSArray * o_encapFormats;
-       NSString * o_mrl;
+    IBOutlet id o_t8_txt_mrl;
+    
+    NSMutableDictionary * o_userSelections;
+    NSArray * o_videoCodecs;
+    NSArray * o_audioCodecs;
+    NSArray * o_encapFormats;
+    NSArray * o_strmgMthds;
+    NSString * o_opts;
 }
 - (IBAction)cancelRun:(id)sender;
 - (IBAction)nextTab:(id)sender;
 - (IBAction)t2_addNewStream:(id)sender;
 - (IBAction)t2_chooseStreamOrPlst:(id)sender;
 - (IBAction)t2_enableExtract:(id)sender;
-- (IBAction)t3_addressEntered:(id)sender;
 - (IBAction)t3_strmMthdChanged:(id)sender;
 - (IBAction)t4_AudCdcChanged:(id)sender;
 - (IBAction)t4_enblAudTrnscd:(id)sender;
 - (void)showWizard;
 - (void)showSummary;
 - (void)resetWizard;
-- (void)createMrl;
+- (void)createOpts;
+- (void)rebuildCodecMenus;
+- (id)getPlaylistWizard;
+- (void)initWithExtractValuesFrom: (NSString *)from to: (NSString *)to \
+    ofItem: (NSString *)item;
+
 @end