1 /*****************************************************************************
2 * open.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2002 VideoLAN
5 * $Id: open.h,v 1.6 2003/01/06 02:45:09 massiot Exp $
7 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
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.
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.
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 *****************************************************************************/
24 NSArray *GetEjectableMediaOfClass( const char *psz_class );
26 #define OPEN_PANEL_FULL_HEIGHT 494
27 #define OPEN_PANEL_SHORT_HEIGHT 325
28 #define WINDOW_TITLE_HEIGHT 21
30 /*****************************************************************************
32 *****************************************************************************/
33 @interface VLCOpen : NSObject
35 IBOutlet id o_playlist;
40 IBOutlet id o_mrl_lbl;
41 IBOutlet id o_tabview;
44 IBOutlet id o_btn_cancel;
46 IBOutlet id o_file_path;
47 IBOutlet id o_file_btn_browse;
48 IBOutlet id o_file_stream;
50 IBOutlet id o_disc_type;
51 IBOutlet id o_disc_device;
52 IBOutlet id o_disc_device_lbl;
53 IBOutlet id o_disc_title;
54 IBOutlet id o_disc_title_lbl;
55 IBOutlet id o_disc_title_stp;
56 IBOutlet id o_disc_chapter;
57 IBOutlet id o_disc_chapter_lbl;
58 IBOutlet id o_disc_chapter_stp;
59 IBOutlet id o_disc_videots_folder;
60 IBOutlet id o_disc_videots_btn_browse;
61 IBOutlet id o_disc_dvd_menus;
63 IBOutlet id o_net_mode;
64 IBOutlet id o_net_udp_port;
65 IBOutlet id o_net_udp_port_lbl;
66 IBOutlet id o_net_udp_port_stp;
67 IBOutlet id o_net_udpm_addr;
68 IBOutlet id o_net_udpm_addr_lbl;
69 IBOutlet id o_net_udpm_port;
70 IBOutlet id o_net_udpm_port_lbl;
71 IBOutlet id o_net_udpm_port_stp;
72 IBOutlet id o_net_cs_addr;
73 IBOutlet id o_net_cs_addr_lbl;
74 IBOutlet id o_net_cs_port;
75 IBOutlet id o_net_cs_port_lbl;
76 IBOutlet id o_net_cs_port_stp;
77 IBOutlet id o_net_http_url;
78 IBOutlet id o_net_http_url_lbl;
80 IBOutlet id o_sout_cbox;
81 IBOutlet id o_sout_mrl_lbl;
82 IBOutlet id o_sout_mrl;
83 IBOutlet id o_sout_access;
84 IBOutlet id o_sout_file_path;
85 IBOutlet id o_sout_file_btn_browse;
86 IBOutlet id o_sout_udp_addr;
87 IBOutlet id o_sout_udp_addr_lbl;
88 IBOutlet id o_sout_udp_port;
89 IBOutlet id o_sout_udp_port_lbl;
90 IBOutlet id o_sout_udp_port_stp;
91 IBOutlet id o_sout_mux;
94 - (void)openTarget:(int)i_type;
95 - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;
97 - (IBAction)openFileGeneric:(id)sender;
98 - (void)openFilePathChanged:(NSNotification *)o_notification;
99 - (IBAction)openFileBrowse:(id)sender;
100 - (IBAction)openFileStreamChanged:(id)sender;
102 - (IBAction)openDisc:(id)sender;
103 - (IBAction)openDiscTypeChanged:(id)sender;
104 - (IBAction)openDiscStepperChanged:(id)sender;
105 - (void)openDiscInfoChanged:(NSNotification *)o_notification;
106 - (IBAction)openDiscMenusChanged:(id)sender;
107 - (IBAction)openVTSBrowse:(id)sender;
109 - (IBAction)openNet:(id)sender;
110 - (IBAction)openNetModeChanged:(id)sender;
111 - (IBAction)openNetStepperChanged:(id)sender;
112 - (void)openNetInfoChanged:(NSNotification *)o_notification;
114 - (IBAction)soutChanged:(id)sender;
115 - (IBAction)soutFileBrowse:(id)sender;
116 - (void)soutModeChanged:(NSNotification *)o_notification;
117 - (void)soutInfoChanged:(NSNotification *)o_notification;
118 - (IBAction)soutStepperChanged:(id)sender;
120 - (IBAction)panelCancel:(id)sender;
121 - (IBAction)panelOk:(id)sender;
123 - (IBAction)openFile:(id)sender;