Debian Codegraph @

components/encoder/bladeenc/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_BLADECONFIG
14 #define H_BLADECONFIG
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 ConfigureBlade : public ConfigLayer
27 {
28 private:
29 GroupBox *group_bit;
30 Slider *slider_bit;
31 Text *text_bit;
32
33 GroupBox *group_crc;
34 CheckBox *check_crc;
35
36 GroupBox *group_copyright;
37 CheckBox *check_copyright;
38
39 GroupBox *group_original;
40 CheckBox *check_original;
41
42 GroupBox *group_private;
43 CheckBox *check_private;
44
45 GroupBox *group_dualchannel;
46 CheckBox *check_dualchannel;
47
48 Int bitrate;
49 Bool crc;
50 Bool copyright;
51 Bool original;
52 Bool priv;
53 Bool dualchannel;
54 slots:
55 Void SetBitrate();
56 Int GetBitrate();
57 Int GetSliderValue();
58 public:
59 static const String ConfigID;
60
61 ConfigureBlade();
62 ~ConfigureBlade();
63
64 Int SaveSettings();
65 };
66 };
67
68 #endif