X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fgui%2Fmacosx%2Fwizard.h;h=1ea98226a1e0aab31e7193adc977af24ddb22d9e;hb=96b4ee1ee2da310e9ea951a29672a7609dbf831e;hp=b0895502bdb3c13a868b210bd5f06538ee2da652;hpb=94d20dd3cd674ee73fe6221091df82b55c4107cc;p=vlc diff --git a/modules/gui/macosx/wizard.h b/modules/gui/macosx/wizard.h index b0895502bd..1ea98226a1 100644 --- a/modules/gui/macosx/wizard.h +++ b/modules/gui/macosx/wizard.h @@ -1,16 +1,16 @@ /***************************************************************************** * wizard.h: MacOS X Streaming Wizard ***************************************************************************** - * Copyright (C) 2005 VideoLAN + * Copyright (C) 2005-2007 the VideoLAN team * $Id$ * - * Authors: Felix Kühne + * Authors: Felix Kühne * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -18,40 +18,48 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ /***************************************************************************** - * VLCWizard + * VLCWizard *****************************************************************************/ - + #import @interface VLCWizard : NSObject { + /* general items */ IBOutlet id o_btn_backward; IBOutlet id o_btn_cancel; IBOutlet id o_btn_forward; + IBOutlet id o_tab_pageHolder; + IBOutlet id o_wizard_window; + 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_rdo_streaming; - IBOutlet id o_t1_rdo_transcode; + 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") */ IBOutlet id o_t2_box_prtExtrct; IBOutlet id o_t2_ckb_enblPartExtrct; IBOutlet id o_t2_btn_chooseFile; IBOutlet id o_t2_fld_pathToNewStrm; IBOutlet id o_t2_fld_prtExtrctFrom; IBOutlet id o_t2_fld_prtExtrctTo; - IBOutlet id o_t2_rdo_exstPlstItm; - IBOutlet id o_t2_rdo_newStrm; + IBOutlet id o_t2_matrix_inputSourceType; IBOutlet id o_t2_tbl_plst; IBOutlet id o_t2_text; IBOutlet id o_t2_title; IBOutlet id o_t2_txt_prtExtrctFrom; IBOutlet id o_t2_txt_prtExtrctTo; + + /* page one ("Streaming 1") */ IBOutlet id o_t3_box_dest; IBOutlet id o_t3_box_strmgMthd; IBOutlet id o_t3_fld_address; @@ -59,6 +67,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_t4_box_audio; IBOutlet id o_t4_box_video; IBOutlet id o_t4_ckb_audio; @@ -75,9 +86,13 @@ IBOutlet id o_t4_txt_videoCodec; IBOutlet id o_t4_txt_hintAudio; IBOutlet id o_t4_txt_hintVideo; + + /* page five ("Encap") */ IBOutlet id o_t5_matrix_encap; IBOutlet id o_t5_text; IBOutlet id o_t5_title; + + /* page six ("Streaming 2") */ IBOutlet id o_t6_ckb_sap; IBOutlet id o_t6_fld_sap; IBOutlet id o_t6_fld_ttl; @@ -86,13 +101,56 @@ IBOutlet id o_t6_txt_ttl; IBOutlet id o_t6_btn_mrInfo_ttl; IBOutlet id o_t6_btn_mrInfo_sap; + IBOutlet id o_t6_btn_mrInfo_local; + IBOutlet id o_t6_ckb_soverlay; + IBOutlet id o_t6_ckb_local; + + /* 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; - IBOutlet id o_tab_pageHolder; - IBOutlet id o_wizard_window; + IBOutlet id o_t7_btn_mrInfo_local; + IBOutlet id o_t7_ckb_soverlay; + IBOutlet id o_t7_ckb_local; + + /* 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_sap; + IBOutlet id o_t8_fld_saveFileTo; + IBOutlet id o_t8_fld_strmgMthd; + IBOutlet id o_t8_fld_trnscdAudio; + IBOutlet id o_t8_fld_trnscdVideo; + IBOutlet id o_t8_fld_soverlay; + IBOutlet id o_t8_fld_ttl; + IBOutlet id o_t8_fld_mrl; + IBOutlet id o_t8_fld_local; + IBOutlet id o_t8_txt_destination; + IBOutlet id o_t8_txt_encapFormat; + IBOutlet id o_t8_txt_inputStream; + IBOutlet id o_t8_txt_partExtract; + IBOutlet id o_t8_txt_sap; + IBOutlet id o_t8_txt_saveFileTo; + IBOutlet id o_t8_txt_strmgMthd; + IBOutlet id o_t8_txt_text; + IBOutlet id o_t8_txt_title; + IBOutlet id o_t8_txt_trnscdAudio; + IBOutlet id o_t8_txt_trnscdVideo; + IBOutlet id o_t8_txt_soverlay; + IBOutlet id o_t8_txt_ttl; + IBOutlet id o_t8_txt_mrl; + IBOutlet id o_t8_txt_local; + + 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; @@ -102,7 +160,7 @@ - (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; - (IBAction)t4_enblVidTrnscd:(id)sender; @@ -110,8 +168,17 @@ - (IBAction)t6_enblSapAnnce:(id)sender; - (IBAction)t6_mrInfo_ttl:(id)sender; - (IBAction)t6_mrInfo_sap:(id)sender; +- (IBAction)t67_mrInfo_local:(id)sender; - (IBAction)t7_selectTrnscdDestFile:(id)sender; + (VLCWizard *)sharedInstance; + - (void)showWizard; +- (void)showSummary; +- (void)resetWizard; +- (void)createOpts; +- (void)rebuildCodecMenus; +- (id)getPlaylistWizard; +- (void)initWithExtractValuesFrom: (NSString *)from to: (NSString *)to ofItem: (NSString *)item; + @end