#ifndef LIBADWAITAMM_TOASTOVERLAY_HPP #define LIBADWAITAMM_TOASTOVERLAY_HPP #include "adwaitamm/helpers/gobj_mixin.hpp" #include "adwaitamm/helpers/properties.hpp" #include #include #include #include #include #include #define _ADWAITA_INSIDE #include #undef _ADWAITA_INSIDE namespace Adwaita { struct ToastOverlay final : Gtk::Widget, helpers::gobj_mixin { struct Class : Glib::Class { using BaseClassParent = GtkWidgetClass; using BaseClassType = AdwToastOverlayClass; using BaseObjectType = AdwToastOverlay; using CppClassParent = struct Gtk::Widget_Class; using CppObjectType = ToastOverlay; auto init() -> Glib::Class const &; auto static class_init_function(void * gclass, void * data) -> void; auto static wrap_new(GObject * object) -> Glib::ObjectBase *; }; using BaseObjectType = Class::BaseObjectType; using BaseClassType = Class::BaseClassType; using CppObjectType = Class::CppObjectType; using CppClassType = Class; using helpers::gobj_mixin::gobj; using helpers::gobj_mixin::gobj_copy; explicit ToastOverlay(); ToastOverlay(ToastOverlay const & other) = delete; ToastOverlay(ToastOverlay && other) noexcept = default; auto operator=(ToastOverlay const & other) noexcept -> ToastOverlay & = delete; auto operator=(ToastOverlay && other) noexcept -> ToastOverlay & = default; auto static get_type() -> GType; auto static get_base_type() -> GType; auto add(Glib::RefPtr const & toast) -> void; auto property_child(this auto && self); protected: explicit ToastOverlay(Glib::ConstructParams const & params); explicit ToastOverlay(BaseObjectType * gobj); }; auto ToastOverlay::property_child(this auto && self) { return helpers::make_property_proxy(self, "child"); } } // namespace Adwaita namespace Glib { auto wrap(AdwToastOverlay * object, bool copy = false) -> Adwaita::ToastOverlay *; } // namespace Glib #endif