]> git.sesse.net Git - vlc/blob - modules/gui/macosx/open.h
* Added the possibility to select DVD menus with VIDEO_TS folder in the
[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.5 2003/01/05 02:39:48 massiot 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 /*****************************************************************************
27  * Intf_Open interface
28  *****************************************************************************/
29 @interface VLCOpen : NSObject
30 {
31     IBOutlet id o_playlist;
32
33     IBOutlet id o_panel;
34
35     IBOutlet id o_mrl;
36     IBOutlet id o_mrl_lbl;
37     IBOutlet id o_tabview;
38
39     IBOutlet id o_btn_ok;
40     IBOutlet id o_btn_cancel;
41
42     IBOutlet id o_file_path;
43     IBOutlet id o_file_btn_browse;
44     IBOutlet id o_file_stream;
45
46     IBOutlet id o_disc_type;
47     IBOutlet id o_disc_device;
48     IBOutlet id o_disc_device_lbl;
49     IBOutlet id o_disc_title;
50     IBOutlet id o_disc_title_lbl;
51     IBOutlet id o_disc_title_stp;
52     IBOutlet id o_disc_chapter;
53     IBOutlet id o_disc_chapter_lbl;
54     IBOutlet id o_disc_chapter_stp;
55     IBOutlet id o_disc_videots_folder;
56     IBOutlet id o_disc_videots_btn_browse;
57     IBOutlet id o_disc_dvd_menus;
58
59     IBOutlet id o_net_mode;
60     IBOutlet id o_net_udp_port;
61     IBOutlet id o_net_udp_port_lbl;
62     IBOutlet id o_net_udp_port_stp;
63     IBOutlet id o_net_udpm_addr;
64     IBOutlet id o_net_udpm_addr_lbl;
65     IBOutlet id o_net_udpm_port;
66     IBOutlet id o_net_udpm_port_lbl;
67     IBOutlet id o_net_udpm_port_stp;
68     IBOutlet id o_net_cs_addr;
69     IBOutlet id o_net_cs_addr_lbl;
70     IBOutlet id o_net_cs_port;
71     IBOutlet id o_net_cs_port_lbl;
72     IBOutlet id o_net_cs_port_stp;
73     IBOutlet id o_net_http_url;
74     IBOutlet id o_net_http_url_lbl;
75 }
76
77 - (void)openTarget:(int)i_type;
78 - (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;
79
80 - (IBAction)openFileGeneric:(id)sender;
81 - (void)openFilePathChanged:(NSNotification *)o_notification;
82 - (IBAction)openFileBrowse:(id)sender;
83 - (IBAction)openFileStreamChanged:(id)sender;
84
85 - (IBAction)openDisc:(id)sender;
86 - (IBAction)openDiscTypeChanged:(id)sender;
87 - (IBAction)openDiscStepperChanged:(id)sender;
88 - (void)openDiscInfoChanged:(NSNotification *)o_notification;
89 - (IBAction)openDiscMenusChanged:(id)sender;
90 - (IBAction)openVTSBrowse:(id)sender;
91
92 - (IBAction)openNet:(id)sender;
93 - (IBAction)openNetModeChanged:(id)sender;
94 - (IBAction)openNetStepperChanged:(id)sender;
95 - (void)openNetInfoChanged:(NSNotification *)o_notification;
96
97 - (IBAction)panelCancel:(id)sender;
98 - (IBAction)panelOk:(id)sender;
99
100 - (IBAction)openFile:(id)sender;
101
102 @end