Debian Codegraph @

include/dialogs/config/config_encoders.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2023 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_FREAC_CONFIG_ENCODERS
14 #define H_FREAC_CONFIG_ENCODERS
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigureEncoders : public BoCA::ConfigLayer
22 {
23 private:
24 GroupBox *group_encoder;
25 ComboBox *combo_encoder;
26 Button *button_config;
27
28 GroupBox *group_options;
29 CheckBox *check_singleFile;
30 CheckBox *check_onTheFly;
31 CheckBox *check_keepWaves;
32 CheckBox *check_removeTracks;
33 CheckBox *check_addEncodedTracks;
34
35 Bool singleFile;
36 Bool onTheFly;
37 Bool keepWaves;
38 Bool removeTracks;
39 Bool addEncodedTracks;
40
41 String GetSelectedEncoder() const;
42 slots:
43 Void SelectEncoder();
44 Void ConfigureEncoder();
45
46 Void ToggleOnTheFly();
47 Void ToggleRemoveTracks();
48 Void ToggleEncodeToSingleFile();
49 public:
50 ConfigureEncoders();
51 ~ConfigureEncoders();
52
53 Int SaveSettings();
54 };
55 };
56
57 #endif