Debian Codegraph @

include/dialogs/cddb/managesubmits.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2018 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_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