Debian Codegraph @

components/extension/protocols/config.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2021 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_PROTOCOLS_CONFIG
14 #define H_PROTOCOLS_CONFIG
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 ConfigureProtocols : public ConfigLayer
27 {
28 private:
29 GroupBox *group_ui;
30 CheckBox *check_ui_showTab;
31
32 GroupBox *group_logs;
33 CheckBox *check_logs_archive;
34 Text *text_logs_folder;
35 EditBox *edit_logs_folder;
36 Button *btn_logs_select;
37 CheckBox *check_logs_delete;
38 EditBox *edit_logs_days;
39 Text *text_logs_days;
40
41 GroupBox *group_conversion;
42 CheckBox *check_complete_paths;
43 CheckBox *check_conversion_logs;
44 CheckBox *check_conversion_ripping;
45 Text *text_conversion_filename;
46 EditBox *edit_conversion_filename;
47 List *list_conversion_filename;
48
49 Bool showLogsTab;
50
51 Bool archiveLogs;
52 Bool deleteLogs;
53 Bool logCompletePaths;
54 Bool saveConversionLogsWithFiles;
55 Bool saveRippingLogsOnly;
56 public:
57 static const String ConfigID;
58
59 ConfigureProtocols();
60 ~ConfigureProtocols();
61
62 Int SaveSettings();
63 slots:
64 Void ToggleArchiveLogs();
65 Void ToggleDeleteLogs();
66 Void ToggleSaveConversionLogsWithFiles();
67
68 Void SelectFolder();
69 };
70 };
71
72 #endif