Debian Codegraph @

include/dialogs/config/config_cddb.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_FREAC_CONFIG_CDDB
14 #define H_FREAC_CONFIG_CDDB
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 namespace freac
20 {
21 class ConfigureCDDB : public BoCA::ConfigLayer
22 {
23 private:
24 Layer *layer_local_background;
25 CheckBox *check_local;
26
27 Layer *layer_remote_background;
28 CheckBox *check_remote;
29
30 GroupBox *group_local;
31 Text *text_dir;
32 EditBox *edit_dir;
33 Button *button_browse;
34
35 GroupBox *group_cddb;
36 Text *text_mode;
37 ComboBox *combo_mode;
38 Text *text_server;
39 EditBox *edit_server;
40 List *list_server;
41 Text *text_port;
42 EditBox *edit_port;
43 Text *text_email;
44 EditBox *edit_email;
45 List *list_email;
46 Button *button_http;
47 Button *button_proxy;
48
49 GroupBox *group_cddb_auto;
50 CheckBox *check_autoquery;
51 CheckBox *check_autoselect;
52
53 GroupBox *group_cddb_options;
54 CheckBox *check_cdtext;
55 CheckBox *check_cache;
56
57 Bool cddb_autoquery;
58 Bool cddb_autoselect;
59
60 Bool cddb_cdtext;
61 Bool cddb_cache;
62
63 Bool cddb_local;
64 Bool cddb_remote;
65 slots:
66 Void ToggleLocalCDDB();
67 Void ToggleRemoteCDDB();
68
69 Void ToggleCDDBSettings();
70
71 Void SetCDDBMode();
72 Void ToggleAutoCDDB();
73
74 Void SelectDir();
75
76 Void HTTPSettings();
77 Void ProxySettings();
78 public:
79 ConfigureCDDB();
80 ~ConfigureCDDB();
81
82 Int SaveSettings();
83 };
84 };
85
86 #endif