From 2c4e151343828af13b28ec39946b6bf34748c2b3 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 24 Apr 2025 20:12:26 +0200 Subject: adw: extract class definitions --- include/adwaitamm/private/applicationwindow_p.hpp | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 include/adwaitamm/private/applicationwindow_p.hpp (limited to 'include/adwaitamm/private/applicationwindow_p.hpp') diff --git a/include/adwaitamm/private/applicationwindow_p.hpp b/include/adwaitamm/private/applicationwindow_p.hpp new file mode 100644 index 0000000..d44629e --- /dev/null +++ b/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 +#include + +#include + +#include + +#define _ADWAITA_INSIDE +#include +#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 -- cgit v1.2.3