Debian Codegraph @

include/dialogs/format.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_DIALOG_SELECT_FORMAT
14 #define H_FREAC_DIALOG_SELECT_FORMAT
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 using namespace smooth;
20 using namespace smooth::GUI;
21
22 namespace freac
23 {
24 class DialogSelectFormat : public Dialogs::Dialog
25 {
26 private:
27 Divider *divbar;
28
29 Window *mainWnd;
30 Titlebar *mainWnd_titlebar;
31
32 Text *text_formats;
33 ListBox *list_formats;
34
35 Button *button_confirm;
36 Button *button_cancel;
37 public:
38 DialogSelectFormat(const Array<BoCA::Format> &);
39 ~DialogSelectFormat();
40
41 const Error &ShowDialog();
42
43 Int GetSelectedEntryNumber() const;
44 slots:
45 Void OnChangeSize(const Size &);
46
47 Void OnConfirm();
48 Void OnCancel();
49 };
50 };
51
52 #endif