Debian Codegraph @

include/dialogs/config/config_playlists.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_PLAYLISTS
14 #define H_FREAC_CONFIG_PLAYLISTS
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigurePlaylists : public BoCA::ConfigLayer
22 {
23 private:
24 GroupBox *group_options;
25 CheckBox *check_createPlaylists;
26 ComboBox *combo_formats;
27 Button *button_config;
28
29 GroupBox *group_outdir;
30 CheckBox *check_useEncOutdir;
31 EditBox *edit_outdir;
32 Button *button_outdir_browse;
33
34 GroupBox *group_filename;
35 Text *text_filename;
36 EditBox *edit_filename;
37 List *list_filename;
38 CheckBox *check_singlefile;
39
40 Bool createPlaylists;
41 Bool createCueSheets;
42
43 Bool useEncOutdir;
44
45 Bool createSingleFile;
46
47 String GetSelectedComponent() const;
48 signals:
49 static Signal1<Void, Bool> onToggleCreateCueSheets;
50 slots:
51 Void SelectDir();
52 Void SelectFormat();
53 Void ConfigureFormat();
54
55 Void ToggleCreatePlaylists();
56 Void ToggleUseEncOutdir();
57
58 Void OnToggleCreateCueSheets(Bool);
59 public:
60 ConfigurePlaylists();
61 ~ConfigurePlaylists();
62
63 Int SaveSettings();
64 };
65 };
66
67 #endif