]> git.sesse.net Git - vlc/blob - modules/gui/macosx/ConvertAndSave.h
macosx: CAS: added i18n support for the customization panel
[vlc] / modules / gui / macosx / ConvertAndSave.h
1 /*****************************************************************************
2  * ConvertAndSave.h: MacOS X interface module
3  *****************************************************************************
4  * Copyright (C) 2012 Felix Paul Kühne
5  * $Id$
6  *
7  * Authors: Felix Paul Kühne <fkuehne -at- videolan -dot- org>
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation; either version 2 of the License, or
12  * (at your option) any later version.
13  *
14  * This program is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with this program; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
22  *****************************************************************************/
23
24 #import <Cocoa/Cocoa.h>
25
26 @interface VLCConvertAndSave : NSObject
27 {
28     IBOutlet id _window;
29     IBOutlet id _cancel_btn;
30     IBOutlet id _ok_btn;
31
32     IBOutlet id _drop_lbl;
33     IBOutlet id _drop_image_view;
34     IBOutlet id _drop_btn;
35     IBOutlet id _drop_box;
36
37     IBOutlet id _profile_lbl;
38     IBOutlet id _profile_pop;
39     IBOutlet id _profile_btn;
40
41     IBOutlet id _destination_lbl;
42     IBOutlet id _destination_btn;
43     IBOutlet id _destination_icon_view;
44     IBOutlet id _destination_filename_lbl;
45     IBOutlet id _destination_filename_stub_lbl;
46
47     IBOutlet id _dropin_view;
48     IBOutlet id _dropin_icon_view;
49     IBOutlet id _dropin_media_lbl;
50
51     IBOutlet id _customize_panel;
52     IBOutlet id _customize_ok_btn;
53     IBOutlet id _customize_cancel_btn;
54     IBOutlet id _customize_tabview;
55     IBOutlet id _customize_encap_matrix;
56     IBOutlet id _customize_vid_ckb;
57     IBOutlet id _customize_vid_keep_ckb;
58     IBOutlet id _customize_vid_codec_lbl;
59     IBOutlet id _customize_vid_codec_pop;
60     IBOutlet id _customize_vid_bitrate_lbl;
61     IBOutlet id _customize_vid_bitrate_fld;
62     IBOutlet id _customize_vid_framerate_lbl;
63     IBOutlet id _customize_vid_framerate_fld;
64     IBOutlet id _customize_vid_res_box;
65     IBOutlet id _customize_vid_res_lbl;
66     IBOutlet id _customize_vid_width_lbl;
67     IBOutlet id _customize_vid_width_fld;
68     IBOutlet id _customize_vid_height_lbl;
69     IBOutlet id _customize_vid_height_fld;
70     IBOutlet id _customize_vid_scale_lbl;
71     IBOutlet id _customize_vid_scale_fld;
72     IBOutlet id _customize_aud_ckb;
73     IBOutlet id _customize_aud_keep_ckb;
74     IBOutlet id _customize_aud_codec_lbl;
75     IBOutlet id _customize_aud_codec_pop;
76     IBOutlet id _customize_aud_bitrate_lbl;
77     IBOutlet id _customize_aud_bitrate_fld;
78     IBOutlet id _customize_aud_channels_lbl;
79     IBOutlet id _customize_aud_channels_fld;
80     IBOutlet id _customize_aud_samplerate_lbl;
81     IBOutlet id _customize_aud_samplerate_pop;
82     IBOutlet id _customize_subs_ckb;
83     IBOutlet id _customize_subs_pop;
84     IBOutlet id _customize_subs_overlay_ckb;
85
86     NSString * _MRL;
87     NSString * _outputDestination;
88 }
89 @property (readwrite, nonatomic, retain) NSString * MRL;
90 @property (readwrite, nonatomic, retain) NSString * outputDestination;
91
92 + (VLCConvertAndSave *)sharedInstance;
93
94 - (IBAction)toggleWindow;
95
96 - (IBAction)windowButtonAction:(id)sender;
97 - (IBAction)openMedia:(id)sender;
98 - (IBAction)profileSelection:(id)sender;
99 - (IBAction)customizeProfile:(id)sender;
100 - (IBAction)closeCustomizationSheet:(id)sender;
101 - (IBAction)chooseDestination:(id)sender;
102
103 - (void)updateDropView;
104
105 @end
106
107 @interface VLCDropEnabledBox : NSBox
108
109 @end
110
111 @interface VLCDropEnabledImageView : NSImageView
112
113 @end
114
115 @interface VLCDropEnabledButton : NSButton
116
117 @end