-rw-r--r-- | src/dialogs.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/dialogs.h b/src/dialogs.h new file mode 100644 index 0000000..0a7f1b0 --- a/dev/null +++ b/src/dialogs.h | |||
@@ -0,0 +1,25 @@ | |||
1 | #ifndef __N_DIALOGS_H | ||
2 | #define __N_DIALOGS_H | ||
3 | |||
4 | #include <gtkmm/dialog.h> | ||
5 | #include <gtkmm/box.h> | ||
6 | #include "widgets.h" | ||
7 | |||
8 | namespace napkin { | ||
9 | namespace gtk { | ||
10 | |||
11 | class hypnoinfo_dialog_t : public Gtk::Dialog { | ||
12 | public: | ||
13 | hypnoinfo_t w_hinfo; | ||
14 | |||
15 | hypnoinfo_dialog_t(Gtk::Window& w); | ||
16 | |||
17 | inline void update_data(const hypnodata_ptr_t& hd) { | ||
18 | w_hinfo.update_data(hd); } | ||
19 | }; | ||
20 | |||
21 | |||
22 | } | ||
23 | } | ||
24 | |||
25 | #endif /* __N_DIALOGS_H */ | ||