Debian Codegraph @

include/dialogs/config/config_tagformats.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_TAG_FORMATS
14 #define H_FREAC_CONFIG_TAG_FORMATS
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigureTagFormats : public BoCA::ConfigLayer
22 {
23 private:
24 GroupBox *group_tags;
25 ListBox *list_tag_formats;
26 Text *text_encoding;
27 EditBox *edit_encoding;
28 ComboBox *combo_encoding;
29 List *list_encodings;
30 CheckBox *check_prependzero;
31
32 Array<String> selected_encodings;
33 Array<Bool> tags_prependzero;
34
35 Bool prependZero;
36 slots:
37 Void OnEditEncoding();
38
39 Void ToggleTags();
40 Void TogglePrependZero();
41 public:
42 ConfigureTagFormats();
43 ~ConfigureTagFormats();
44
45 Int SaveSettings();
46 };
47 };
48
49 #endif