| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_FREAC_CDDB_MANAGE_SUBMITS |
| 14 |
#define H_FREAC_CDDB_MANAGE_SUBMITS |
| 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 cddbManageSubmitsDlg : 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 |
Text *text_preview; |
| 37 |
MultiEdit *edit_preview; |
| 38 |
|
| 39 |
Button *btn_delete; |
| 40 |
Button *btn_send; |
| 41 |
Button *btn_send_all; |
| 42 |
|
| 43 |
Button *btn_cancel; |
| 44 |
|
| 45 |
Text *text_status; |
| 46 |
|
| 47 |
CDDBBatch cddbBatch; |
| 48 |
|
| 49 |
Void ReadEntries(); |
| 50 |
public: |
| 51 |
cddbManageSubmitsDlg(); |
| 52 |
~cddbManageSubmitsDlg(); |
| 53 |
|
| 54 |
const Error &ShowDialog(); |
| 55 |
slots: |
| 56 |
Void OnChangeSize(const Size &); |
| 57 |
|
| 58 |
Void SelectEntry(); |
| 59 |
Void DeleteEntry(); |
| 60 |
Void SendEntry(); |
| 61 |
Void SendAllEntries(); |
| 62 |
|
| 63 |
Void Cancel(); |
| 64 |
}; |
| 65 |
}; |
| 66 |
|
| 67 |
#endif |