]> git.sesse.net Git - vlc/blob - modules/gui/macosx/open.h
* ./extras/MacOSX/vlc.pbproj/project.pbxproj
[vlc] / modules / gui / macosx / open.h
1 /*****************************************************************************
2  * open.h: MacOS X plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2002 VideoLAN
5  * $Id: open.h,v 1.7 2003/01/20 03:45:06 hartman Exp $
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  * 
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
22  *****************************************************************************/
23
24 NSArray *GetEjectableMediaOfClass( const char *psz_class );
25
26 #define OPEN_PANEL_FULL_HEIGHT 494
27 #define OPEN_PANEL_SHORT_HEIGHT 325
28 #define WINDOW_TITLE_HEIGHT 21
29
30 /*****************************************************************************
31  * Intf_Open interface
32  *****************************************************************************/
33 @interface VLCOpen : NSObject
34 {
35     IBOutlet id o_playlist;
36
37     IBOutlet id o_panel;
38
39     IBOutlet id o_mrl;
40     IBOutlet id o_mrl_lbl;
41     IBOutlet id o_tabview;
42
43     IBOutlet id o_btn_ok;
44     IBOutlet id o_btn_cancel;
45     IBOutlet id o_ckbox_enqueue;
46
47     IBOutlet id o_file_path;
48     IBOutlet id o_file_btn_browse;
49     IBOutlet id o_file_stream;
50     IBOutlet id o_file_sub_path;
51     IBOutlet id o_file_sub_btn_browse;
52     IBOutlet id o_file_sub_ckbox;
53
54     IBOutlet id o_disc_type;
55     IBOutlet id o_disc_device;
56     IBOutlet id o_disc_device_lbl;
57     IBOutlet id o_disc_title;
58     IBOutlet id o_disc_title_lbl;
59     IBOutlet id o_disc_title_stp;
60     IBOutlet id o_disc_chapter;
61     IBOutlet id o_disc_chapter_lbl;
62     IBOutlet id o_disc_chapter_stp;
63     IBOutlet id o_disc_videots_folder;
64     IBOutlet id o_disc_videots_btn_browse;
65     IBOutlet id o_disc_dvd_menus;
66
67     IBOutlet id o_net_mode;
68     IBOutlet id o_net_udp_port;
69     IBOutlet id o_net_udp_port_lbl;
70     IBOutlet id o_net_udp_port_stp;
71     IBOutlet id o_net_udpm_addr;
72     IBOutlet id o_net_udpm_addr_lbl;
73     IBOutlet id o_net_udpm_port;
74     IBOutlet id o_net_udpm_port_lbl;
75     IBOutlet id o_net_udpm_port_stp;
76     IBOutlet id o_net_cs_addr;
77     IBOutlet id o_net_cs_addr_lbl;
78     IBOutlet id o_net_cs_port;
79     IBOutlet id o_net_cs_port_lbl;
80     IBOutlet id o_net_cs_port_stp;
81     IBOutlet id o_net_http_url;
82     IBOutlet id o_net_http_url_lbl;
83
84     IBOutlet id o_sout_cbox;
85     IBOutlet id o_sout_mrl_lbl;
86     IBOutlet id o_sout_mrl;
87     IBOutlet id o_sout_access;
88     IBOutlet id o_sout_file_path;
89     IBOutlet id o_sout_file_btn_browse;
90     IBOutlet id o_sout_udp_addr;
91     IBOutlet id o_sout_udp_addr_lbl;
92     IBOutlet id o_sout_udp_port;
93     IBOutlet id o_sout_udp_port_lbl;
94     IBOutlet id o_sout_udp_port_stp;
95     IBOutlet id o_sout_mux;
96 }
97
98 - (void)openTarget:(int)i_type;
99 - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;
100
101 - (IBAction)openFileGeneric:(id)sender;
102 - (void)openFilePathChanged:(NSNotification *)o_notification;
103 - (IBAction)openFileBrowse:(id)sender;
104 - (IBAction)openFileStreamChanged:(id)sender;
105 - (IBAction)loadSubsChanged:(id)sender;
106 - (IBAction)openSubBrowse:(id)sender;
107
108 - (IBAction)openDisc:(id)sender;
109 - (IBAction)openDiscTypeChanged:(id)sender;
110 - (IBAction)openDiscStepperChanged:(id)sender;
111 - (void)openDiscInfoChanged:(NSNotification *)o_notification;
112 - (IBAction)openDiscMenusChanged:(id)sender;
113 - (IBAction)openVTSBrowse:(id)sender;
114
115 - (IBAction)openNet:(id)sender;
116 - (IBAction)openNetModeChanged:(id)sender;
117 - (IBAction)openNetStepperChanged:(id)sender;
118 - (void)openNetInfoChanged:(NSNotification *)o_notification;
119
120 - (IBAction)soutChanged:(id)sender;
121 - (IBAction)soutFileBrowse:(id)sender;
122 - (void)soutModeChanged:(NSNotification *)o_notification;
123 - (void)soutInfoChanged:(NSNotification *)o_notification;
124 - (IBAction)soutStepperChanged:(id)sender;
125
126 - (IBAction)panelCancel:(id)sender;
127 - (IBAction)panelOk:(id)sender;
128
129 - (IBAction)openFile:(id)sender;
130
131 @end