From f1444607e0dd39cea4591e6bc82938abd61e38e2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 28 Apr 2025 13:52:49 +0200 Subject: adw: extract libadwaitamm --- include/adwaitamm/toast.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'include/adwaitamm/toast.hpp') diff --git a/include/adwaitamm/toast.hpp b/include/adwaitamm/toast.hpp index 8c84fad..af29df3 100644 --- a/include/adwaitamm/toast.hpp +++ b/include/adwaitamm/toast.hpp @@ -38,26 +38,26 @@ namespace Adwaita using CppObjectType = Toast; using CppClassType = Toast_Class; -#pragma mark - Special Member Functions + Toast(Toast const & other) = delete; Toast(Toast && other) noexcept = default; auto operator=(Toast const & other) noexcept -> Toast & = delete; auto operator=(Toast && other) noexcept -> Toast & = default; -#pragma mark - GObject Support + using helpers::gobj_mixin::gobj; using helpers::gobj_mixin::gobj_copy; auto static get_type() -> GType; auto static get_base_type() -> GType; -#pragma mark - Factories + auto static create(Glib::ustring const & title) -> Glib::RefPtr; -#pragma mark - Functions + auto dismiss() -> void; -#pragma mark - Getters + auto get_action_name() const -> Glib::ustring; auto get_action_target_value() const -> Glib::VariantBase; auto get_button_label() const -> Glib::ustring; @@ -67,7 +67,7 @@ namespace Adwaita auto get_title() const -> Glib::ustring; auto get_use_markup() const -> bool; -#pragma mark - Setters + auto set_action_name(Glib::ustring value) -> void; auto set_action_target_value(Glib::VariantBase const & value) -> void; auto set_button_label(Glib::ustring value) -> void; @@ -78,7 +78,7 @@ namespace Adwaita auto set_title(Glib::ustring value) -> void; auto set_use_markup(bool value) -> void; -#pragma mark - Properties + auto property_action_name() -> Glib::PropertyProxy; auto property_action_name() const -> Glib::PropertyProxy_ReadOnly; auto property_action_target() -> Glib::PropertyProxy; @@ -96,14 +96,14 @@ namespace Adwaita auto property_use_markup() -> Glib::PropertyProxy; auto property_use_markup() const -> Glib::PropertyProxy_ReadOnly; -#pragma mark - Signals + auto signal_button_clicked() -> Glib::SignalProxy; auto signal_dismissed() -> Glib::SignalProxy; protected: friend Toast_Class; -#pragma mark - Constructors + explicit Toast(Glib::ustring const & title); explicit Toast(Glib::ConstructParams const & params); explicit Toast(BaseObjectType * gobj); -- cgit v1.2.3