Debian Codegraph @

components/encoder/wma/config.h

raw symbols SCIP
1 /* BoCA - BonkEnc Component Architecture
2 * Copyright (C) 2007-2017 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_WMACONFIG
14 #define H_WMACONFIG
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 #include "dllinterface.h"
20
21 using namespace smooth;
22 using namespace smooth::GUI;
23
24 using namespace BoCA;
25
26 namespace BoCA
27 {
28 class ConfigureWMA : public ConfigLayer
29 {
30 private:
31 IWMProfileManager *profileManager;
32
33 GroupBox *group_codec;
34 OptionBox *option_uncompressed;
35 OptionBox *option_codec;
36 ComboBox *combo_codec;
37
38 GroupBox *group_format;
39 OptionBox *option_autoselect;
40 OptionBox *option_format;
41 CheckBox *check_vbr;
42 CheckBox *check_2pass;
43 ComboBox *combo_format;
44
45 GroupBox *group_settings;
46 CheckBox *check_vbr_setting;
47 CheckBox *check_2pass_setting;
48 Text *text_quality;
49 Slider *slider_quality;
50 Text *text_quality_value;
51 Text *text_bitrate;
52 ComboBox *combo_bitrate;
53 Text *text_bitrate_kbps;
54
55 Bool supportCBR1Pass;
56 Bool supportVBR1Pass;
57 Bool supportCBR2Pass;
58 Bool supportVBR2Pass;
59
60 Int uncompressed;
61 Int autoselect;
62
63 Bool useVBR;
64 Bool use2Pass;
65
66 Bool useVBRSetting;
67 Bool use2PassSetting;
68
69 Int quality;
70
71 Void FillCodecComboBox();
72 Void FillFormatComboBox();
73 public:
74 static const String ConfigID;
75
76 ConfigureWMA();
77 ~ConfigureWMA();
78
79 Int SaveSettings();
80 slots:
81 Void OnToggleCodec();
82 Void OnSelectCodec();
83
84 Void OnToggleFormat();
85
86 Void OnToggleVBR();
87 Void OnToggle2Pass();
88
89 Void OnToggleVBRSetting();
90 Void OnToggle2PassSetting();
91
92 Void OnSetQuality();
93 };
94 };
95
96 #endif