open.h 4.47 KB
Newer Older
1
2
3
4
/*****************************************************************************
 * open.h: MacOS X plugin for vlc
 *****************************************************************************
 * Copyright (C) 2002 VideoLAN
5
 * $Id: open.h,v 1.9 2003/01/26 14:53:08 hartman Exp $
6
 *
7
8
9
 * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
 *          Christophe Massiot <massiot@via.ecp.fr>
 *          Derk-Jan Hartman <thedj@users.sourceforge.net>
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
 *****************************************************************************/

NSArray *GetEjectableMediaOfClass( const char *psz_class );

28
29
#define OPEN_PANEL_FULL_HEIGHT 498
#define OPEN_PANEL_SHORT_HEIGHT 329
Christophe Massiot's avatar
Christophe Massiot committed
30
31
#define WINDOW_TITLE_HEIGHT 21

32
33
34
35
36
37
38
/*****************************************************************************
 * Intf_Open interface
 *****************************************************************************/
@interface VLCOpen : NSObject
{
    IBOutlet id o_playlist;

39
40
41
    IBOutlet id o_panel;

    IBOutlet id o_mrl;
42
    IBOutlet id o_mrl_lbl;
43
44
45
46
    IBOutlet id o_tabview;

    IBOutlet id o_btn_ok;
    IBOutlet id o_btn_cancel;
47
    IBOutlet id o_ckbox_enqueue;
48
49
50

    IBOutlet id o_file_path;
    IBOutlet id o_file_btn_browse;
51
    IBOutlet id o_file_stream;
52
53
54
    IBOutlet id o_file_sub_path;
    IBOutlet id o_file_sub_btn_browse;
    IBOutlet id o_file_sub_ckbox;
55

56
    IBOutlet id o_disc_type;
57
58
    IBOutlet id o_disc_device;
    IBOutlet id o_disc_device_lbl;
59
    IBOutlet id o_disc_title;
60
61
    IBOutlet id o_disc_title_lbl;
    IBOutlet id o_disc_title_stp;
62
    IBOutlet id o_disc_chapter;
63
64
    IBOutlet id o_disc_chapter_lbl;
    IBOutlet id o_disc_chapter_stp;
65
66
    IBOutlet id o_disc_videots_folder;
    IBOutlet id o_disc_videots_btn_browse;
67
    IBOutlet id o_disc_dvd_menus;
68

69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
    IBOutlet id o_net_mode;
    IBOutlet id o_net_udp_port;
    IBOutlet id o_net_udp_port_lbl;
    IBOutlet id o_net_udp_port_stp;
    IBOutlet id o_net_udpm_addr;
    IBOutlet id o_net_udpm_addr_lbl;
    IBOutlet id o_net_udpm_port;
    IBOutlet id o_net_udpm_port_lbl;
    IBOutlet id o_net_udpm_port_stp;
    IBOutlet id o_net_cs_addr;
    IBOutlet id o_net_cs_addr_lbl;
    IBOutlet id o_net_cs_port;
    IBOutlet id o_net_cs_port_lbl;
    IBOutlet id o_net_cs_port_stp;
    IBOutlet id o_net_http_url;
    IBOutlet id o_net_http_url_lbl;
Christophe Massiot's avatar
Christophe Massiot committed
85
86
87
88
89
90
91
92
93
94
95
96
97

    IBOutlet id o_sout_cbox;
    IBOutlet id o_sout_mrl_lbl;
    IBOutlet id o_sout_mrl;
    IBOutlet id o_sout_access;
    IBOutlet id o_sout_file_path;
    IBOutlet id o_sout_file_btn_browse;
    IBOutlet id o_sout_udp_addr;
    IBOutlet id o_sout_udp_addr_lbl;
    IBOutlet id o_sout_udp_port;
    IBOutlet id o_sout_udp_port_lbl;
    IBOutlet id o_sout_udp_port_stp;
    IBOutlet id o_sout_mux;
98
99
}

100
101
102
- (void)openTarget:(int)i_type;
- (void)tabView:(NSTabView *)o_tv didSelectTabViewItem:(NSTabViewItem *)o_tvi;

103
- (IBAction)openFileGeneric:(id)sender;
104
- (void)openFilePathChanged:(NSNotification *)o_notification;
105
106
- (IBAction)openFileBrowse:(id)sender;
- (IBAction)openFileStreamChanged:(id)sender;
107
108
- (IBAction)loadSubsChanged:(id)sender;
- (IBAction)openSubBrowse:(id)sender;
109
110
111

- (IBAction)openDisc:(id)sender;
- (IBAction)openDiscTypeChanged:(id)sender;
112
113
- (IBAction)openDiscStepperChanged:(id)sender;
- (void)openDiscInfoChanged:(NSNotification *)o_notification;
114
- (IBAction)openDiscMenusChanged:(id)sender;
115
- (IBAction)openVTSBrowse:(id)sender;
116
117
118

- (IBAction)openNet:(id)sender;
- (IBAction)openNetModeChanged:(id)sender;
119
120
- (IBAction)openNetStepperChanged:(id)sender;
- (void)openNetInfoChanged:(NSNotification *)o_notification;
121

Christophe Massiot's avatar
Christophe Massiot committed
122
123
124
125
126
127
- (IBAction)soutChanged:(id)sender;
- (IBAction)soutFileBrowse:(id)sender;
- (void)soutModeChanged:(NSNotification *)o_notification;
- (void)soutInfoChanged:(NSNotification *)o_notification;
- (IBAction)soutStepperChanged:(id)sender;

128
129
130
- (IBAction)panelCancel:(id)sender;
- (IBAction)panelOk:(id)sender;

131
132
- (IBAction)openFile:(id)sender;

133
@end