]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/ConvertAndSave.h
macosx: CAS: re-write the destination section's appearance to make it less cluttered
[vlc] / modules / gui / macosx / ConvertAndSave.h
index 17b2b795b934157c48407cac6a4b4c8b0e9f2aaf..6c3d0545ddee54750171b5cc55b449d55b393341 100644 (file)
 
 @interface VLCConvertAndSave : NSObject
 {
-    IBOutlet id o_window;
-    IBOutlet id o_cancel_btn;
-    IBOutlet id o_ok_btn;
-
-    IBOutlet id o_drop_lbl;
-    IBOutlet id o_drop_image_view;
-    IBOutlet id o_drop_btn;
-    IBOutlet id o_drop_box;
-
-    IBOutlet id o_profile_lbl;
-    IBOutlet id o_profile_pop;
-    IBOutlet id o_profile_btn;
-
-    IBOutlet id o_destination_lbl;
-    IBOutlet id o_destination_btn;
-    IBOutlet id o_destination_icon_view;
-    IBOutlet id o_destination_filename_lbl;
-    IBOutlet id o_destination_filename_stub_lbl;
-
-    IBOutlet id o_dropin_view;
-    IBOutlet id o_dropin_icon_view;
-    IBOutlet id o_dropin_media_lbl;
+    IBOutlet id _window;
+    IBOutlet id _cancel_btn;
+    IBOutlet id _ok_btn;
+
+    IBOutlet id _drop_lbl;
+    IBOutlet id _drop_image_view;
+    IBOutlet id _drop_btn;
+    IBOutlet id _drop_box;
+
+    IBOutlet id _profile_lbl;
+    IBOutlet id _profile_pop;
+    IBOutlet id _profile_btn;
+
+    IBOutlet id _destination_box;
+    IBOutlet id _destination_lbl;
+    IBOutlet id _destination_browse_btn;
+    IBOutlet id _destination_icon_view;
+    IBOutlet id _destination_filename_lbl;
+    IBOutlet id _destination_filename_stub_lbl;
+    IBOutlet id _destination_stream_btn;
+    IBOutlet id _destination_stream_lbl;
+    IBOutlet id _destination_itwantafile_btn;
+    IBOutlet id _destination_itwantastream_btn;
+    IBOutlet id _destination_itwantafile_view;
+    IBOutlet id _destination_itwantastream_view;
+    IBOutlet id _destination_cancel_btn;
+
+    IBOutlet id _dropin_view;
+    IBOutlet id _dropin_icon_view;
+    IBOutlet id _dropin_media_lbl;
+
+    IBOutlet id _customize_panel;
+    IBOutlet id _customize_ok_btn;
+    IBOutlet id _customize_cancel_btn;
+    IBOutlet id _customize_tabview;
+    IBOutlet id _customize_encap_matrix;
+    IBOutlet id _customize_vid_ckb;
+    IBOutlet id _customize_vid_keep_ckb;
+    IBOutlet id _customize_vid_codec_lbl;
+    IBOutlet id _customize_vid_codec_pop;
+    IBOutlet id _customize_vid_bitrate_lbl;
+    IBOutlet id _customize_vid_bitrate_fld;
+    IBOutlet id _customize_vid_framerate_lbl;
+    IBOutlet id _customize_vid_framerate_fld;
+    IBOutlet id _customize_vid_res_box;
+    IBOutlet id _customize_vid_res_lbl;
+    IBOutlet id _customize_vid_width_lbl;
+    IBOutlet id _customize_vid_width_fld;
+    IBOutlet id _customize_vid_height_lbl;
+    IBOutlet id _customize_vid_height_fld;
+    IBOutlet id _customize_vid_scale_lbl;
+    IBOutlet id _customize_vid_scale_pop;
+    IBOutlet id _customize_aud_ckb;
+    IBOutlet id _customize_aud_keep_ckb;
+    IBOutlet id _customize_aud_codec_lbl;
+    IBOutlet id _customize_aud_codec_pop;
+    IBOutlet id _customize_aud_bitrate_lbl;
+    IBOutlet id _customize_aud_bitrate_fld;
+    IBOutlet id _customize_aud_channels_lbl;
+    IBOutlet id _customize_aud_channels_fld;
+    IBOutlet id _customize_aud_samplerate_lbl;
+    IBOutlet id _customize_aud_samplerate_pop;
+    IBOutlet id _customize_subs_ckb;
+    IBOutlet id _customize_subs_pop;
+    IBOutlet id _customize_subs_overlay_ckb;
+
+    IBOutlet id _stream_panel;
+    IBOutlet id _stream_ok_btn;
+    IBOutlet id _stream_cancel_btn;
+    IBOutlet id _stream_destination_lbl;
+    IBOutlet id _stream_announcement_lbl;
+    IBOutlet id _stream_type_lbl;
+    IBOutlet id _stream_type_pop;
+    IBOutlet id _stream_address_lbl;
+    IBOutlet id _stream_address_fld;
+    IBOutlet id _stream_ttl_lbl;
+    IBOutlet id _stream_ttl_fld;
+    IBOutlet id _stream_port_lbl;
+    IBOutlet id _stream_port_fld;
+    IBOutlet id _stream_sap_ckb;
+    IBOutlet id _stream_http_ckb;
+    IBOutlet id _stream_rtsp_ckb;
+    IBOutlet id _stream_sdp_ckb;
+    IBOutlet id _stream_channel_fld;
+    IBOutlet id _stream_sdp_fld;
 
     NSString * _MRL;
+    NSString * _outputDestination;
+    NSArray * _profileNames;
+    NSArray * _profileValueList;
+    NSArray * _videoCodecs;
+    NSArray * _audioCodecs;
+    NSArray * _subsCodecs;
+    NSMutableArray * _currentProfile;
 }
 @property (readwrite, nonatomic, retain) NSString * MRL;
+@property (readwrite, nonatomic, retain) NSString * outputDestination;
+@property (readwrite, retain) NSArray * profileNames;
+@property (readwrite, retain) NSArray * profileValueList;
+@property (readwrite, retain) NSMutableArray * currentProfile;
 
 + (VLCConvertAndSave *)sharedInstance;
 
 - (IBAction)toggleWindow;
 
-- (IBAction)windowButtonAction:(id)sender;
+- (IBAction)saveFile:(id)sender;
 - (IBAction)openMedia:(id)sender;
-- (IBAction)profileSelection:(id)sender;
+- (IBAction)switchProfile:(id)sender;
 - (IBAction)customizeProfile:(id)sender;
-- (IBAction)chooseDestination:(id)sender;
+- (IBAction)closeCustomizationSheet:(id)sender;
+- (IBAction)iWantAFile:(id)sender;
+- (IBAction)iWantAStream:(id)sender;
+- (IBAction)cancelDestination:(id)sender;
+- (IBAction)browseFileDestination:(id)sender;
+- (IBAction)showStreamPanel:(id)sender;
+- (IBAction)closeStreamPanel:(id)sender;
 
 - (void)updateDropView;
 
 @end
 
 @interface VLCDropEnabledBox : NSBox
+{
+    BOOL b_activeDragAndDrop;
+}
 
 @end