]> git.sesse.net Git - vlc/blob - plugins/macosx/intf_open.h
* ./plugins/macosx: rewrote the net panel for OS X
[vlc] / plugins / macosx / intf_open.h
1 /*****************************************************************************
2  * intf_open.h: MacOS X plugin for vlc
3  *****************************************************************************
4  * Copyright (C) 2001 VideoLAN
5  * $Id: intf_open.h,v 1.2.2.1 2002/06/02 22:32:46 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 /*****************************************************************************
25  * Preamble
26  *****************************************************************************/
27 #import <Cocoa/Cocoa.h>
28
29 NSArray *GetEjectableMediaOfClass( const char *psz_class );
30
31 /*****************************************************************************
32  * Intf_Open interface
33  *****************************************************************************/
34 @interface Intf_Open : NSObject
35 {
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;
41     
42     IBOutlet id o_net_panel;
43     IBOutlet id o_net_protocol;
44     IBOutlet id o_net_server_addr;
45     IBOutlet id o_net_server_addr_label;
46     IBOutlet id o_net_server_port;
47     IBOutlet id o_net_server_port_label;
48     IBOutlet id o_net_server_pstepper;
49 }
50
51 - (id)init;
52 + (Intf_Open *)instance;
53 - (void)awakeFromNib;
54
55 - (IBAction)openDisc:(id)sender;
56 - (IBAction)openDiscTypeChanged:(id)sender;
57
58 - (IBAction)openFile:(id)sender;
59
60 - (IBAction)openNet:(id)sender;
61 - (IBAction)openNetProtocol:(id)sender;
62
63 - (IBAction)panelCancel:(id)sender;
64 - (IBAction)panelOk:(id)sender;
65
66 @end