1 /*****************************************************************************
2 * open.h: MacOS X module for vlc
3 *****************************************************************************
4 * Copyright (C) 2002-2003 VideoLAN
7 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8 * Christophe Massiot <massiot@via.ecp.fr>
9 * Derk-Jan Hartman <thedj@users.sourceforge.net>
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
24 *****************************************************************************/
26 NSArray *GetEjectableMediaOfClass( const char *psz_class );
28 /*****************************************************************************
30 *****************************************************************************/
31 @interface VLCOpen : NSObject
33 IBOutlet id o_playlist;
38 IBOutlet id o_mrl_lbl;
39 IBOutlet id o_tabview;
42 IBOutlet id o_btn_cancel;
44 IBOutlet id o_file_path;
45 IBOutlet id o_file_btn_browse;
46 IBOutlet id o_file_stream;
48 IBOutlet id o_disc_type;
49 IBOutlet id o_disc_device;
50 IBOutlet id o_disc_device_lbl;
51 IBOutlet id o_disc_title;
52 IBOutlet id o_disc_title_lbl;
53 IBOutlet id o_disc_title_stp;
54 IBOutlet id o_disc_chapter;
55 IBOutlet id o_disc_chapter_lbl;
56 IBOutlet id o_disc_chapter_stp;
57 IBOutlet id o_disc_videots_folder;
58 IBOutlet id o_disc_videots_btn_browse;
59 IBOutlet id o_disc_dvd_menus;
61 IBOutlet id o_net_mode;
62 IBOutlet id o_net_udp_port;
63 IBOutlet id o_net_udp_port_lbl;
64 IBOutlet id o_net_udp_port_stp;
65 IBOutlet id o_net_udpm_addr;
66 IBOutlet id o_net_udpm_addr_lbl;
67 IBOutlet id o_net_udpm_port;
68 IBOutlet id o_net_udpm_port_lbl;
69 IBOutlet id o_net_udpm_port_stp;
70 IBOutlet id o_net_http_url;
71 IBOutlet id o_net_http_url_lbl;
73 IBOutlet id o_file_sub_ckbox;
74 IBOutlet id o_file_sub_btn_settings;
75 IBOutlet id o_file_sub_sheet;
76 IBOutlet id o_file_sub_path;
77 IBOutlet id o_file_sub_btn_browse;
78 IBOutlet id o_file_sub_override;
79 IBOutlet id o_file_sub_delay;
80 IBOutlet id o_file_sub_delay_lbl;
81 IBOutlet id o_file_sub_delay_stp;
82 IBOutlet id o_file_sub_fps;
83 IBOutlet id o_file_sub_fps_lbl;
84 IBOutlet id o_file_sub_fps_stp;
85 IBOutlet id o_file_sub_encoding_pop;
86 IBOutlet id o_file_sub_encoding_lbl;
87 IBOutlet id o_file_sub_size_pop;
88 IBOutlet id o_file_sub_size_lbl;
89 IBOutlet id o_file_sub_align_pop;
90 IBOutlet id o_file_sub_align_lbl;
91 IBOutlet id o_file_sub_ok_btn;
92 IBOutlet id o_file_sub_font_box;
93 IBOutlet id o_file_sub_file_box;
95 IBOutlet id o_output_ckbox;
96 IBOutlet id o_sout_options;
99 + (VLCOpen *)sharedInstance;
102 - (void)openTarget:(int)i_type;
103 - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;
105 - (void)openFileGeneric;
106 - (void)openFilePathChanged:(NSNotification *)o_notification;
107 - (IBAction)openFileBrowse:(id)sender;
108 - (void) pathChosenInPanel: (NSOpenPanel *) sheet withReturn:(int)returnCode contextInfo:(void *)contextInfo;
109 - (IBAction)openFileStreamChanged:(id)sender;
112 - (IBAction)openDiscTypeChanged:(id)sender;
113 - (IBAction)openDiscStepperChanged:(id)sender;
114 - (void)openDiscInfoChanged:(NSNotification *)o_notification;
115 - (IBAction)openDiscMenusChanged:(id)sender;
116 - (IBAction)openVTSBrowse:(id)sender;
119 - (IBAction)openNetModeChanged:(id)sender;
120 - (IBAction)openNetStepperChanged:(id)sender;
121 - (void)openNetInfoChanged:(NSNotification *)o_notification;
123 - (IBAction)subsChanged:(id)sender;
124 - (IBAction)subSettings:(id)sender;
125 - (IBAction)subFileBrowse:(id)sender;
126 - (IBAction)subOverride:(id)sender;
127 - (IBAction)subDelayStepperChanged:(id)sender;
128 - (IBAction)subFpsStepperChanged:(id)sender;
129 - (IBAction)subCloseSheet:(id)sender;
131 - (IBAction)panelCancel:(id)sender;
132 - (IBAction)panelOk:(id)sender;