summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/gnome2mmapp/main_window.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-17 20:50:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-17 23:51:16 +0900
commit4ae7b32dc09eb7acd9411a8af63a767660aa64ec (patch)
tree3d150131675502f5d5a3ff054ec6fc3dbe4e78fd /languages/cpp/app_templates/gnome2mmapp/main_window.h
parent25071ecede33675972c3163f4b46df964a06dadf (diff)
downloadtdevelop-4ae7b32dc09eb7acd9411a8af63a767660aa64ec.tar.gz
tdevelop-4ae7b32dc09eb7acd9411a8af63a767660aa64ec.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3e3d9eda9d1dd8c67c1c27c6a9bdc68bdecfcc30)
Diffstat (limited to 'languages/cpp/app_templates/gnome2mmapp/main_window.h')
-rw-r--r--languages/cpp/app_templates/gnome2mmapp/main_window.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window.h b/languages/cpp/app_templates/gnome2mmapp/main_window.h
new file mode 100644
index 00000000..80ac8c70
--- /dev/null
+++ b/languages/cpp/app_templates/gnome2mmapp/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
+{
+protected:
+ virtual gint quit(GdkEventAny *ev);
+};
+#endif