From 95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 24 Apr 2025 20:12:26 +0200 Subject: adw: extract class definitions --- adw/include/adwaitamm/private/toast_p.hpp | 34 +++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 adw/include/adwaitamm/private/toast_p.hpp (limited to 'adw/include/adwaitamm/private/toast_p.hpp') diff --git a/adw/include/adwaitamm/private/toast_p.hpp b/adw/include/adwaitamm/private/toast_p.hpp new file mode 100644 index 0000000..2431b32 --- /dev/null +++ b/adw/include/adwaitamm/private/toast_p.hpp @@ -0,0 +1,34 @@ +#ifndef LIBADWAITAMM_PRIVATE_TOAST_P_HPP +#define LIBADWAITAMM_PRIVATE_TOAST_P_HPP + +#include + +#include +#include +#include + +#include + +#define _ADWAITA_INSIDE +#include +#undef _ADWAITA_INSIDE + +namespace Adwaita +{ + + struct Toast_Class : Glib::Class + { + using BaseClassParent = GObjectClass; + using BaseClassType = AdwToastClass; + using BaseObjectType = AdwToast; + using CppClassParent = struct Glib::Object_Class; + using CppObjectType = struct Toast; + + 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