| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CDDB_MANAGE_QUERIES |
| 14 |
#define H_FREAC_CDDB_MANAGE_QUERIES |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
|
| 18 |
using namespace smooth; |
| 19 |
using namespace smooth::GUI; |
| 20 |
|
| 21 |
#include <cddb/cddbbatch.h> |
| 22 |
|
| 23 |
namespace freac |
| 24 |
{ |
| 25 |
class cddbManageQueriesDlg : public Dialogs::Dialog |
| 26 |
{ |
| 27 |
private: |
| 28 |
Divider *divbar; |
| 29 |
|
| 30 |
Window *mainWnd; |
| 31 |
Titlebar *mainWnd_titlebar; |
| 32 |
|
| 33 |
Text *text_entries; |
| 34 |
ListBox *list_entries; |
| 35 |
|
| 36 |
Button *btn_delete; |
| 37 |
Button *btn_query; |
| 38 |
Button *btn_query_all; |
| 39 |
|
| 40 |
Button *btn_cancel; |
| 41 |
|
| 42 |
Text *text_status; |
| 43 |
|
| 44 |
CDDBBatch cddbQueries; |
| 45 |
|
| 46 |
Void ReadEntries(); |
| 47 |
public: |
| 48 |
cddbManageQueriesDlg(); |
| 49 |
~cddbManageQueriesDlg(); |
| 50 |
|
| 51 |
const Error &ShowDialog(); |
| 52 |
slots: |
| 53 |
Void OnChangeSize(const Size &); |
| 54 |
|
| 55 |
Void SelectEntry(); |
| 56 |
Void DeleteEntry(); |
| 57 |
Void QueryEntry(); |
| 58 |
Void QueryAllEntries(); |
| 59 |
|
| 60 |
Void Cancel(); |
| 61 |
}; |
| 62 |
}; |
| 63 |
|
| 64 |
#endif |