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/breakpoint_p.hpp | |
| parent | 48eb849abde6c9af75c015a9721c9b337f3a5fd9 (diff) | |
| download | turns-95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0.tar.xz turns-95dc7e43a23300b3eacbb7e1e0a9d4f31a8bd5a0.zip | |
adw: extract class definitions
Diffstat (limited to 'adw/include/adwaitamm/private/breakpoint_p.hpp')
| -rw-r--r-- | adw/include/adwaitamm/private/breakpoint_p.hpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/adw/include/adwaitamm/private/breakpoint_p.hpp b/adw/include/adwaitamm/private/breakpoint_p.hpp new file mode 100644 index 0000000..b4f6bc4 --- /dev/null +++ b/adw/include/adwaitamm/private/breakpoint_p.hpp @@ -0,0 +1,34 @@ +#ifndef LIBADWAITAMM_PRIVATE_BREAKPOINT_P_HPP +#define LIBADWAITAMM_PRIVATE_BREAKPOINT_P_HPP + +#include <sigc++/signal.h> + +#include <glibmm/class.h> +#include <glibmm/objectbase.h> +#include <glibmm/private/object_p.h> + +#include <glib-object.h> + +#define _ADWAITA_INSIDE +#include <adw-breakpoint.h> +#undef _ADWAITA_INSIDE + +namespace Adwaita +{ + + struct Breakpoint_Class : Glib::Class + { + using BaseClassParent = GObjectClass; + using BaseClassType = AdwBreakpointClass; + using BaseObjectType = AdwBreakpoint; + using CppClassParent = struct Glib::Object_Class; + using CppObjectType = struct Breakpoint; + + 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 |
