diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-17 20:50:19 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-17 23:51:16 +0900 |
commit | 4ae7b32dc09eb7acd9411a8af63a767660aa64ec (patch) | |
tree | 3d150131675502f5d5a3ff054ec6fc3dbe4e78fd /languages/cpp/app_templates/gnome2mmapp/main_window_glade.h | |
parent | 25071ecede33675972c3163f4b46df964a06dadf (diff) | |
download | tdevelop-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_glade.h')
-rw-r--r-- | languages/cpp/app_templates/gnome2mmapp/main_window_glade.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h new file mode 100644 index 00000000..1793dbdc --- /dev/null +++ b/languages/cpp/app_templates/gnome2mmapp/main_window_glade.h @@ -0,0 +1,49 @@ +%{HH_TEMPLATE} + +// DO NOT EDIT THIS FILE ! It was created using +// glade-- /home/amp8165/Projects/gnome2mm/gnome2mm.glade +// for gtk 2.2.4 and gtkmm 1.2.10 +// +// Please modify the corresponding derived classes in ./src/main_window.h and./src/main_window.cpp + +#ifndef _MAIN_WINDOW_GLADE_H +# define _MAIN_WINDOW_GLADE_H + + +#if !defined(GLADEMM_DATA) +#define GLADEMM_DATA +#include <gtk--/accelgroup.h> + +class GlademmData +{ + + Gtk::AccelGroup *accgrp; +public: + + GlademmData(Gtk::AccelGroup *ag) : accgrp(ag) + { + } + + Gtk::AccelGroup * getAccelGroup() + { return accgrp; + } +}; +#endif //GLADEMM_DATA + +#include <gtk--/window.h> + +class main_window_glade : public Gtk::Window +{ + + GlademmData *gmm_data; +public: + class Gtk::Window *main_window; +protected: + + main_window_glade(); + + ~main_window_glade(); + + virtual gint quit(GdkEventAny *ev) = 0; +}; +#endif |