1 /*****************************************************************************
2 * open.h: MacOS X plugin for vlc
3 *****************************************************************************
4 * Copyright (C) 2002 VideoLAN
5 * $Id: open.h,v 1.1 2002/08/04 17:23:43 sam 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 /*****************************************************************************
28 *****************************************************************************/
29 @interface VLCOpen : NSObject
31 IBOutlet id o_playlist;
33 IBOutlet id o_disc_panel;
34 IBOutlet id o_disc_btn_ok;
35 IBOutlet id o_disc_btn_cancel;
36 IBOutlet id o_disc_lbl_type;
37 IBOutlet id o_disc_lbl_sp;
38 IBOutlet id o_disc_type;
39 IBOutlet id o_disc_title;
40 IBOutlet id o_disc_chapter;
41 IBOutlet id o_disc_device;
43 IBOutlet id o_net_panel;
44 IBOutlet id o_net_btn_ok;
45 IBOutlet id o_net_btn_cancel;
46 IBOutlet id o_net_box_mode;
47 IBOutlet id o_net_box_addr;
48 IBOutlet id o_net_mode;
49 IBOutlet id o_net_address;
50 IBOutlet id o_net_port;
51 IBOutlet id o_net_port_lbl;
52 IBOutlet id o_net_port_stp;
54 IBOutlet id o_quickly_panel;
55 IBOutlet id o_quickly_btn_ok;
56 IBOutlet id o_quickly_btn_cancel;
57 IBOutlet id o_quickly_source;
60 - (IBAction)openFile:(id)sender;
62 - (IBAction)openDisc:(id)sender;
63 - (IBAction)openDiscTypeChanged:(id)sender;
65 - (IBAction)openNet:(id)sender;
66 - (IBAction)openNetModeChanged:(id)sender;
68 - (IBAction)openQuickly:(id)sender;
70 - (IBAction)panelCancel:(id)sender;
71 - (IBAction)panelOk:(id)sender;