Debian Codegraph @

components/encoder/voaacenc/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_VOAACCONFIG
14 #define H_VOAACCONFIG
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 using namespace smooth;
20 using namespace smooth::GUI;
21
22 using namespace BoCA;
23
24 namespace BoCA
25 {
26 class ConfigureVOAAC : public ConfigLayer
27 {
28 private:
29 GroupBox *group_bitrate;
30 Text *text_bitrate;
31 Slider *slider_bitrate;
32 EditBox *edit_bitrate;
33 Text *text_bitrate_kbps;
34
35 GroupBox *group_id3v2;
36 CheckBox *check_id3v2;
37 Text *text_note;
38 Text *text_id3v2;
39
40 GroupBox *group_mp4;
41 OptionBox *option_mp4;
42 OptionBox *option_aac;
43
44 GroupBox *group_extension;
45 OptionBox *option_extension_m4a;
46 OptionBox *option_extension_m4b;
47 OptionBox *option_extension_m4r;
48 OptionBox *option_extension_mp4;
49
50 Int bitrate;
51 Bool allowID3;
52 Int fileFormat;
53 Int fileExtension;
54 slots:
55 Void SetBitrate();
56 Void SetBitrateByEditBox();
57 Void SetFileFormat();
58 public:
59 static const String ConfigID;
60
61 ConfigureVOAAC();
62 ~ConfigureVOAAC();
63
64 Int SaveSettings();
65 };
66 };
67
68 #endif