summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/main_window.hh
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/gnome2mmapp/main_window.hh')
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window.hh19
1 files changed, 19 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.hh b/languages/cpp/app_templates/gnome2mmapp/main_window.hh
new file mode 100644
index 00000000..ae93336b
--- /dev/null
+++ b/languages/cpp/app_templates/gnome2mmapp/main_window.hh
@@ -0,0 +1,19 @@
+%{HH_TEMPLATE}
+
+// newer (non customized) versions of this file go to main_window.hh_new
+
+// 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_HH
+# include "main_window_glade.hh"
+# define _MAIN_WINDOW_HH
+class main_window : public main_window_glade
+{
+protected:
+ virtual gint quit(GdkEventAny *ev);
+};
+#endif