Debian Codegraph @

include/dialogs/error.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2016 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_DIALOG_ERROR
14 #define H_FREAC_DIALOG_ERROR
15
16 #include <smooth.h>
17
18 using namespace smooth;
19 using namespace smooth::GUI;
20
21 namespace freac
22 {
23 class ErrorDialog : public Dialogs::Dialog
24 {
25 private:
26 Divider *divbar;
27
28 Window *mainWnd;
29 Titlebar *mainWnd_titlebar;
30
31 Text *text_errors;
32 ListBox *list_errors;
33
34 MultiEdit *edit_details;
35 Text *text_details;
36
37 Button *btn_ok;
38 public:
39 ErrorDialog(const Array<String> &);
40 ~ErrorDialog();
41
42 const Error &ShowDialog();
43 slots:
44 Void OnSelectError(ListEntry *);
45 Void OnChangeSize(const Size &);
46
47 Void OK();
48 };
49 };
50
51 #endif