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:50:37 +0900
commit3e3d9eda9d1dd8c67c1c27c6a9bdc68bdecfcc30 (patch)
tree6af0b8ba2786060423ba143e894bf9529d351f8d /languages/cpp/app_templates/gnome2mmapp/main_window.h
parentf08b30edb9f422128083050320681b6bacd06d1d (diff)
downloadtdevelop-3e3d9eda9d1dd8c67c1c27c6a9bdc68bdecfcc30.tar.gz
tdevelop-3e3d9eda9d1dd8c67c1c27c6a9bdc68bdecfcc30.zip
Renaming of files in preparation for code style tools.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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