diff options
Diffstat (limited to 'languages/cpp/app_templates/gtk2mmapp/main_window.h')
-rw-r--r-- | languages/cpp/app_templates/gtk2mmapp/main_window.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gtk2mmapp/main_window.h b/languages/cpp/app_templates/gtk2mmapp/main_window.h new file mode 100644 index 00000000..85daad4b --- /dev/null +++ b/languages/cpp/app_templates/gtk2mmapp/main_window.h @@ -0,0 +1,17 @@ +%{HH_TEMPLATE} + +// you might replace +// class foo : public foo_glade { ... }; +// by +// typedef foo_glade foo; +// if you didn't make any modifications to the widget + +#ifndef _MAIN_WINDOW_H +# include "main_window_glade.h" +# define _MAIN_WINDOW_H +class main_window : public main_window_glade +{ + + bool quit(GdkEventAny *ev); +}; +#endif |