| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 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 |