1 /*****************************************************************************
2 * VLCOutput.h: MacOS X Output Dialog
3 *****************************************************************************
4 * Copyright (C) 2002-2015 VLC authors and VideoLAN
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 * Felix Paul Kühne <fkuehne # videolan org>
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
25 *****************************************************************************/
27 #import <Cocoa/Cocoa.h>
29 @interface VLCOutput
: NSObject
31 @
property (readwrite
) IBOutlet NSPanel
*outputSheet
;
32 @
property (readwrite
, weak
) IBOutlet NSButton
*okButton
;
34 @
property (readwrite
, weak
) IBOutlet NSBox
*optionsBox
;
35 @
property (readwrite
, weak
) IBOutlet NSButton
*displayOnLocalScreenCheckbox
;
36 @
property (readwrite
, weak
) IBOutlet NSMatrix
*outputMethodMatrix
;
37 @
property (readwrite
, weak
) IBOutlet NSTextField
*fileTextField
;
38 @
property (readwrite
, weak
) IBOutlet NSButton
*dumpCheckbox
;
39 @
property (readwrite
, weak
) IBOutlet NSButton
*browseButton
;
40 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamAddressTextField
;
41 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamAddressLabel
;
42 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamPortTextField
;
43 @
property (readwrite
, weak
) IBOutlet NSStepper
*streamPortStepper
;
44 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamPortLabel
;
45 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamTTLTextField
;
46 @
property (readwrite
, weak
) IBOutlet NSStepper
*streamTTLStepper
;
47 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamTTLLabel
;
48 @
property (readwrite
, weak
) IBOutlet NSPopUpButton
*streamTypePopup
;
49 @
property (readwrite
, weak
) IBOutlet NSTextField
*streamTypeLabel
;
51 @
property (readwrite
, weak
) IBOutlet NSTextField
*muxLabel
;
52 @
property (readwrite
, weak
) IBOutlet NSPopUpButton
*muxSelectorPopup
;
54 @
property (readwrite
, weak
) IBOutlet NSBox
*transcodeBox
;
55 @
property (readwrite
, weak
) IBOutlet NSComboBox
*transcodeAudioBitrateComboBox
;
56 @
property (readwrite
, weak
) IBOutlet NSTextField
*transcodeAudioBitrateLabel
;
57 @
property (readwrite
, weak
) IBOutlet NSComboBox
*transcodeAudioChannelsComboBox
;
58 @
property (readwrite
, weak
) IBOutlet NSTextField
*transcodeAudioChannelsLabel
;
59 @
property (readwrite
, weak
) IBOutlet NSButton
*transcodeAudioCheckbox
;
60 @
property (readwrite
, weak
) IBOutlet NSPopUpButton
*transcodeAudioSelectorPopup
;
61 @
property (readwrite
, weak
) IBOutlet NSComboBox
*transcodeVideoBitrateComboBox
;
62 @
property (readwrite
, weak
) IBOutlet NSTextField
*transcodeVideoBitrateLabel
;
63 @
property (readwrite
, weak
) IBOutlet NSComboBox
*transcodeVideoScaleComboBox
;
64 @
property (readwrite
, weak
) IBOutlet NSTextField
*transcodeVideoScaleLabel
;
65 @
property (readwrite
, weak
) IBOutlet NSButton
*transcodeVideoCheckbox
;
66 @
property (readwrite
, weak
) IBOutlet NSPopUpButton
*transcodeVideoSelectorPopup
;
68 @
property (readwrite
, weak
) IBOutlet NSBox
*miscBox
;
69 @
property (readwrite
, weak
) IBOutlet NSButton
*sapCheckbox
;
70 @
property (readwrite
, weak
) IBOutlet NSTextField
*channelNameTextField
;
71 @
property (readwrite
, weak
) IBOutlet NSTextField
*channelNameLabel
;
73 @
property (readwrite
, weak
) IBOutlet NSTextField
*sdpURLTextField
;
74 @
property (readwrite
, weak
) IBOutlet NSTextField
*sdpURLLabel
;
75 @
property (readwrite
, weak
) IBOutlet NSButton
*rtspCheckbox
;
76 @
property (readwrite
, weak
) IBOutlet NSButton
*httpCheckbox
;
77 @
property (readwrite
, weak
) IBOutlet NSButton
*fileCheckbox
;
79 @
property (readonly
) NSArray
*soutMRL
;
81 - (IBAction
)outputCloseSheet
:(id
)sender
;
82 - (IBAction
)outputMethodChanged
:(id
)sender
;
83 - (IBAction
)outputInfoChanged
:(id
)object
;
84 - (IBAction
)outputFileBrowse
:(id
)sender
;
85 - (IBAction
)streamPortStepperChanged
:(id
)sender
;
86 - (IBAction
)streamTTLStepperChanged
:(id
)sender
;
87 - (IBAction
)transcodeChanged
:(id
)sender
;
88 - (IBAction
)transcodeInfoChanged
:(id
)object
;
89 - (IBAction
)announceChanged
:(id
)sender
;