Debian Codegraph @

include/dialogs/config/config_dsp.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2022 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_DSP
14 #define H_FREAC_CONFIG_DSP
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigureDSP : public BoCA::ConfigLayer
22 {
23 private:
24 GroupBox *group_dsp;
25
26 CheckBox *check_enable;
27 CheckBox *check_playback;
28
29 GroupBox *group_components;
30
31 Text *text_available;
32 ListBox *list_available;
33 Text *text_selected;
34 ListBox *list_selected;
35
36 Button *btn_add;
37 Button *btn_remove;
38 Button *btn_configure;
39
40 GroupBox *group_single_file;
41
42 OptionBox *option_individual;
43 OptionBox *option_combined;
44
45 Bool enableProcessing;
46 Bool processPlayback;
47
48 Int singleFileMode;
49
50 Void AddComponents();
51
52 String GetSelectedComponent() const;
53 public:
54 ConfigureDSP();
55 ~ConfigureDSP();
56
57 Int SaveSettings();
58 slots:
59 Void OnToggleProcessing();
60
61 Void OnSelectAvailable();
62 Void OnSelectComponent();
63
64 Void OnAddComponent();
65 Void OnRemoveComponent();
66
67 Void OnConfigureComponent();
68 };
69 };
70
71 #endif