Debian Codegraph @

include/dialogs/cddb/managequeries.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_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