]> git.sesse.net Git - vlc/blob - modules/gui/macosx/output.h
* Adds the scale video option
[vlc] / modules / gui / macosx / output.h
1 /*****************************************************************************
2  * output.h: MacOS X Output Dialog
3  *****************************************************************************
4  * Copyright (C) 2002-2003 VideoLAN
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., 59 Temple Place - Suite 330, Boston, MA  02111, 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_slp_chkbox;
74     IBOutlet id o_channel_name;
75     IBOutlet id o_channel_name_lbl;
76
77     IBOutlet id o_sdp_url;
78     IBOutlet id o_sdp_url_lbl;
79     IBOutlet id o_rtsp_chkbox;
80     IBOutlet id o_http_chkbox;
81     IBOutlet id o_file_chkbox;
82
83     NSString *o_mrl;
84     NSString *o_transcode;
85 }
86
87 - (void)setMRL:(NSString *)o_mrl_string;
88 - (NSString *)getMRL;
89 - (void)setTranscode:(NSString *)o_transcode_string;
90
91 - (void)initStrings;
92
93 - (IBAction)outputChanged:(id)sender;
94 - (IBAction)outputSettings:(id)sender;
95 - (IBAction)outputCloseSheet:(id)sender;
96 - (void)outputMethodChanged:(NSNotification *)o_notification;
97 - (void)outputInfoChanged:(NSNotification *)o_notification;
98 - (void)TTLChanged:(NSNotification *)o_notification;
99 - (IBAction)outputFileBrowse:(id)sender;
100 - (void)transcodeChanged:(NSNotification *)o_notification;
101 - (void)transcodeInfoChanged:(NSNotification *)o_notification;
102 - (IBAction)announceChanged:(id)sender;
103 @end