* extras/MacOSX/Resources/English.lproj/MainMenu.nib/*
[vlc.git] / modules / gui / macosx / open.h
1 /*****************************************************************************
2  * open.h: MacOS X plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2002-2003 VideoLAN
5  * $Id: open.h,v 1.13 2003/03/26 03:13:30 hartman Exp $
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8  *          Christophe Massiot <massiot@via.ecp.fr>
9  *          Derk-Jan Hartman <thedj@users.sourceforge.net>
10  *
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.
15  * 
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.
20  *
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  *****************************************************************************/
25
26 NSArray *GetEjectableMediaOfClass( const char *psz_class );
27
28 /*****************************************************************************
29  * Intf_Open interface
30  *****************************************************************************/
31 @interface VLCOpen : NSObject
32 {
33     IBOutlet id o_playlist;
34
35     IBOutlet id o_panel;
36
37     IBOutlet id o_mrl;
38     IBOutlet id o_mrl_lbl;
39     IBOutlet id o_tabview;
40
41     IBOutlet id o_btn_ok;
42     IBOutlet id o_btn_cancel;
43     IBOutlet id o_ckbox_enqueue;
44
45     IBOutlet id o_file_path;
46     IBOutlet id o_file_btn_browse;
47     IBOutlet id o_file_stream;
48
49     IBOutlet id o_disc_type;
50     IBOutlet id o_disc_device;
51     IBOutlet id o_disc_device_lbl;
52     IBOutlet id o_disc_title;
53     IBOutlet id o_disc_title_lbl;
54     IBOutlet id o_disc_title_stp;
55     IBOutlet id o_disc_chapter;
56     IBOutlet id o_disc_chapter_lbl;
57     IBOutlet id o_disc_chapter_stp;
58     IBOutlet id o_disc_videots_folder;
59     IBOutlet id o_disc_videots_btn_browse;
60     IBOutlet id o_disc_dvd_menus;
61
62     IBOutlet id o_net_mode;
63     IBOutlet id o_net_udp_port;
64     IBOutlet id o_net_udp_port_lbl;
65     IBOutlet id o_net_udp_port_stp;
66     IBOutlet id o_net_udpm_addr;
67     IBOutlet id o_net_udpm_addr_lbl;
68     IBOutlet id o_net_udpm_port;
69     IBOutlet id o_net_udpm_port_lbl;
70     IBOutlet id o_net_udpm_port_stp;
71     IBOutlet id o_net_http_url;
72     IBOutlet id o_net_http_url_lbl;
73
74     IBOutlet id o_sout_cbox;
75     IBOutlet id o_sout_settings;
76     IBOutlet id o_sout_sheet;
77     IBOutlet id o_sout_mrl_lbl;
78     IBOutlet id o_sout_mrl;
79     IBOutlet id o_sout_access;
80     IBOutlet id o_sout_access_lbl;
81     IBOutlet id o_sout_file_path;
82     IBOutlet id o_sout_file_btn_browse;
83     IBOutlet id o_sout_udp_addr;
84     IBOutlet id o_sout_udp_addr_lbl;
85     IBOutlet id o_sout_udp_port;
86     IBOutlet id o_sout_udp_port_lbl;
87     IBOutlet id o_sout_udp_port_stp;
88     IBOutlet id o_sout_mux;
89     IBOutlet id o_sout_mux_lbl;
90     IBOutlet id o_sout_btn_ok;
91     
92     IBOutlet id o_file_sub_ckbox;
93     IBOutlet id o_file_sub_btn_settings;
94     IBOutlet id o_file_sub_sheet;
95     IBOutlet id o_file_sub_path;
96     IBOutlet id o_file_sub_btn_browse;
97     IBOutlet id o_file_sub_override;
98     IBOutlet id o_file_sub_delay;
99     IBOutlet id o_file_sub_delay_lbl;
100     IBOutlet id o_file_sub_delay_stp;
101     IBOutlet id o_file_sub_fps;
102     IBOutlet id o_file_sub_fps_lbl;
103     IBOutlet id o_file_sub_fps_stp;
104     IBOutlet id o_file_sub_ok_btn;
105 }
106
107 - (void)openTarget:(int)i_type;
108 - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;
109
110 - (IBAction)openFileGeneric:(id)sender;
111 - (void)openFilePathChanged:(NSNotification *)o_notification;
112 - (IBAction)openFileBrowse:(id)sender;
113 - (void) pathChosenInPanel: (NSOpenPanel *) sheet withReturn:(int)returnCode contextInfo:(void  *)contextInfo;
114 - (IBAction)openFileStreamChanged:(id)sender;
115
116 - (IBAction)openDisc:(id)sender;
117 - (IBAction)openDiscTypeChanged:(id)sender;
118 - (IBAction)openDiscStepperChanged:(id)sender;
119 - (void)openDiscInfoChanged:(NSNotification *)o_notification;
120 - (IBAction)openDiscMenusChanged:(id)sender;
121 - (IBAction)openVTSBrowse:(id)sender;
122
123 - (IBAction)openNet:(id)sender;
124 - (IBAction)openNetModeChanged:(id)sender;
125 - (IBAction)openNetStepperChanged:(id)sender;
126 - (void)openNetInfoChanged:(NSNotification *)o_notification;
127
128 - (IBAction)soutChanged:(id)sender;
129 - (IBAction)soutSettings:(id)sender;
130 - (IBAction)soutFileBrowse:(id)sender;
131 - (void)soutModeChanged:(NSNotification *)o_notification;
132 - (void)soutInfoChanged:(NSNotification *)o_notification;
133 - (IBAction)soutStepperChanged:(id)sender;
134 - (IBAction)soutCloseSheet:(id)sender;
135
136 - (IBAction)subsChanged:(id)sender;
137 - (IBAction)subSettings:(id)sender;
138 - (IBAction)subFileBrowse:(id)sender;
139 - (IBAction)subOverride:(id)sender;
140 - (IBAction)subDelayStepperChanged:(id)sender;
141 - (IBAction)subFpsStepperChanged:(id)sender;
142 - (IBAction)subCloseSheet:(id)sender;
143
144 - (IBAction)panelCancel:(id)sender;
145 - (IBAction)panelOk:(id)sender;
146
147 - (IBAction)openFile:(id)sender;
148
149 @end