]> git.sesse.net Git - vlc/blob - modules/gui/macosx/output.h
ALL: New output dialog that uses the new --sout syntax.
[vlc] / modules / gui / macosx / output.h
1 /*****************************************************************************
2  * output.h: MacOS X Output Dialog
3  *****************************************************************************
4  * Copyright (C) 2002-2003 VideoLAN
5  * $Id: output.h,v 1.1 2003/04/30 23:58:56 hartman Exp $
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_btn_browse;
42     IBOutlet id o_stream_address;
43     IBOutlet id o_stream_address_lbl;
44     IBOutlet id o_stream_port;
45     IBOutlet id o_stream_port_stp;
46     IBOutlet id o_stream_port_lbl;
47     IBOutlet id o_stream_ttl;
48     IBOutlet id o_stream_ttl_stp;
49     IBOutlet id o_stream_ttl_lbl;
50     IBOutlet id o_stream_type;
51     IBOutlet id o_stream_type_lbl;
52     
53     IBOutlet id o_mux_lbl;
54     IBOutlet id o_mux_selector;
55     
56     IBOutlet id o_transcode_audio_bitrate;
57     IBOutlet id o_transcode_audio_bitrate_lbl;
58     IBOutlet id o_transcode_audio_chkbox;
59     IBOutlet id o_transcode_audio_selector;
60     IBOutlet id o_transcode_lbl;
61     IBOutlet id o_transcode_video_bitrate;
62     IBOutlet id o_transcode_video_bitrate_lbl;
63     IBOutlet id o_transcode_video_chkbox;
64     IBOutlet id o_transcode_video_selector;
65     
66     NSString *o_mrl;
67     NSString *o_transcode;
68 }
69
70 - (void)setMRL:(NSString *)o_mrl_string;
71 - (void)setTranscode:(NSString *)o_transcode_string;
72
73 - (void)initStrings;
74
75 - (IBAction)outputChanged:(id)sender;
76 - (IBAction)outputSettings:(id)sender;
77 - (IBAction)outputCloseSheet:(id)sender;
78 - (void)outputMethodChanged:(NSNotification *)o_notification;
79 - (void)outputInfoChanged:(NSNotification *)o_notification;
80 - (void)TTLChanged:(NSNotification *)o_notification;
81 - (IBAction)outputFileBrowse:(id)sender;
82 - (void)transcodeChanged:(NSNotification *)o_notification;
83 - (void)transcodeInfoChanged:(NSNotification *)o_notification;
84
85 @end