diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-24 20:12:26 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-25 07:43:33 +0200 |
| commit | 95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0 (patch) | |
| tree | 9fedc2fef0f5459f3df38c91f3b6366ffb9d48b3 /adw/include/adwaitamm/private/applicationwindow_p.hpp | |
| parent | 48eb849abde6c9af75c015a9721c9b337f3a5fd9 (diff) | |
| download | turns-95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0.tar.xz turns-95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0.zip | |
adw: extract class definitions
Diffstat (limited to 'adw/include/adwaitamm/private/applicationwindow_p.hpp')
| -rw-r--r-- | adw/include/adwaitamm/private/applicationwindow_p.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/adw/include/adwaitamm/private/applicationwindow_p.hpp b/adw/include/adwaitamm/private/applicationwindow_p.hpp new file mode 100644 index 0000000..d44629e --- /dev/null +++ b/adw/include/adwaitamm/private/applicationwindow_p.hpp @@ -0,0 +1,33 @@ +#ifndef LIBADWAITAMM_PRIVATE_APPLICATION_WINDOW_P_HPP +#define LIBADWAITAMM_PRIVATE_APPLICATION_WINDOW_P_HPP + +#include <glibmm/class.h> +#include <glibmm/objectbase.h> + +#include <gtkmm/applicationwindow.h> + +#include <gtk/gtk.h> + +#define _ADWAITA_INSIDE +#include <adw-application-window.h> +#undef _ADWAITA_INSIDE + +namespace Adwaita +{ + struct ApplicationWindow; + + struct ApplicationWindow_Class : Glib::Class + { + using BaseClassParent = GtkApplicationWindowClass; + using BaseClassType = AdwApplicationWindowClass; + using BaseObjectType = AdwApplicationWindow; + using CppClassParent = Gtk::ApplicationWindow_Class; + using CppObjectType = ApplicationWindow; + + auto init() -> Glib::Class const &; + auto static class_init_function(void * gclass, void * data) -> void; + auto static wrap_new(GObject * object) -> Glib::ObjectBase *; + }; +} // namespace Adwaita + +#endif
\ No newline at end of file |
