* ./configure.in: added libdvbpsi version check.
[vlc.git] / plugins / macosx / intf_open.h
blob330a075f8cb4e3fcfd5cc85438b7103c805f10f4
1 /*****************************************************************************
2 * intf_open.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2001 VideoLAN
5 * $Id: intf_open.h,v 1.2 2002/05/06 22:59:46 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 /*****************************************************************************
25 * Preamble
26 *****************************************************************************/
27 #import <Cocoa/Cocoa.h>
29 NSArray *GetEjectableMediaOfClass( const char *psz_class );
31 /*****************************************************************************
32 * Intf_Open interface
33 *****************************************************************************/
34 @interface Intf_Open : NSObject
36 IBOutlet id o_disc_panel;
37 IBOutlet id o_disc_type;
38 IBOutlet id o_disc_title;
39 IBOutlet id o_disc_chapter;
40 IBOutlet id o_disc_device;
42 IBOutlet id o_net_panel;
43 IBOutlet id o_net_protocol;
44 IBOutlet id o_net_channel_addr;
45 IBOutlet id o_net_channel_checkbox;
46 IBOutlet id o_net_channel_port;
47 IBOutlet id o_net_channel_port_label;
48 IBOutlet id o_net_channel_pstepper;
49 IBOutlet id o_net_server_addr;
50 IBOutlet id o_net_server_addr_label;
51 IBOutlet id o_net_server_baddr;
52 IBOutlet id o_net_server_bcheckbox;
53 IBOutlet id o_net_server_port;
54 IBOutlet id o_net_server_port_label;
55 IBOutlet id o_net_server_pstepper;
58 - (id)init;
59 + (Intf_Open *)instance;
60 - (void)awakeFromNib;
62 - (IBAction)openDisc:(id)sender;
63 - (IBAction)openDiscTypeChanged:(id)sender;
65 - (IBAction)openFile:(id)sender;
67 - (IBAction)openNet:(id)sender;
68 - (IBAction)openNetBroadcast:(id)sender;
69 - (IBAction)openNetChannel:(id)sender;
71 - (IBAction)panelCancel:(id)sender;
72 - (IBAction)panelOk:(id)sender;
74 @end