]> git.sesse.net Git - vlc/blob - modules/gui/macosx/output.h
58f08876211a9a94b2e6ee9f7d7d8d1bd076e264
[vlc] / modules / gui / macosx / output.h
1 /*****************************************************************************
2  * output.h: MacOS X Output Dialog
3  *****************************************************************************
4  * Copyright (C) 2002-2006 the VideoLAN team
5  * $Id$
6  *
7  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
8  *          Christophe Massiot <massiot@via.ecp.fr>
9  *          Derk-Jan Hartman <thedj@users.sourceforge.net>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
24  *****************************************************************************/
25
26 /*****************************************************************************
27  * VLCOutput interface
28  *****************************************************************************/
29 @interface VLCOutput : NSObject
30 {
31     IBOutlet id o_open_panel;
32     IBOutlet id o_output_ckbox;
33     IBOutlet id o_output_settings;
34     IBOutlet id o_output_sheet;
35     IBOutlet id o_btn_ok;
36
37     IBOutlet id o_options_lbl;
38     IBOutlet id o_display;
39     IBOutlet id o_method;
40     IBOutlet id o_file_field;
41     IBOutlet id o_dump_chkbox;
42     IBOutlet id o_btn_browse;
43     IBOutlet id o_stream_address;
44     IBOutlet id o_stream_address_lbl;
45     IBOutlet id o_stream_port;
46     IBOutlet id o_stream_port_stp;
47     IBOutlet id o_stream_port_lbl;
48     IBOutlet id o_stream_ttl;
49     IBOutlet id o_stream_ttl_stp;
50     IBOutlet id o_stream_ttl_lbl;
51     IBOutlet id o_stream_type;
52     IBOutlet id o_stream_type_lbl;
53
54     IBOutlet id o_mux_lbl;
55     IBOutlet id o_mux_selector;
56
57     IBOutlet id o_transcode_audio_bitrate;
58     IBOutlet id o_transcode_audio_bitrate_lbl;
59     IBOutlet id o_transcode_audio_channels;
60     IBOutlet id o_transcode_audio_channels_lbl;
61     IBOutlet id o_transcode_audio_chkbox;
62     IBOutlet id o_transcode_audio_selector;
63     IBOutlet id o_transcode_lbl;
64     IBOutlet id o_transcode_video_bitrate;
65     IBOutlet id o_transcode_video_bitrate_lbl;
66     IBOutlet id o_transcode_video_scale;
67     IBOutlet id o_transcode_video_scale_lbl;
68     IBOutlet id o_transcode_video_chkbox;
69     IBOutlet id o_transcode_video_selector;
70
71     IBOutlet id o_misc_lbl;
72     IBOutlet id o_sap_chkbox;
73     IBOutlet id o_channel_name;
74     IBOutlet id o_channel_name_lbl;
75
76     IBOutlet id o_sdp_url;
77     IBOutlet id o_sdp_url_lbl;
78     IBOutlet id o_rtsp_chkbox;
79     IBOutlet id o_http_chkbox;
80     IBOutlet id o_file_chkbox;
81
82     NSArray *o_mrl;
83     NSString *o_transcode;
84 }
85
86 - (void)setMRL:(NSArray *)o_mrl_string;
87 - (NSArray *)getMRL;
88 - (void)setTranscode:(NSString *)o_transcode_string;
89
90 - (void)initStrings;
91
92 - (IBAction)outputChanged:(id)sender;
93 - (IBAction)outputSettings:(id)sender;
94 - (IBAction)outputCloseSheet:(id)sender;
95 - (void)outputMethodChanged:(NSNotification *)o_notification;
96 - (void)outputInfoChanged:(NSNotification *)o_notification;
97 - (void)TTLChanged:(NSNotification *)o_notification;
98 - (IBAction)outputFileBrowse:(id)sender;
99 - (void)transcodeChanged:(NSNotification *)o_notification;
100 - (void)transcodeInfoChanged:(NSNotification *)o_notification;
101 - (IBAction)announceChanged:(id)sender;
102 @end