From a23cda29f0acef40d883c37209389c956c14e83b Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 15 Jul 2024 16:00:29 +0200 Subject: turns: perform widespread code cleanup actions --- domain/include/turns/domain/participant.hpp | 5 +++++ domain/include/turns/domain/turn_order.hpp | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'domain/include/turns') diff --git a/domain/include/turns/domain/participant.hpp b/domain/include/turns/domain/participant.hpp index f417ec7..a097abd 100644 --- a/domain/include/turns/domain/participant.hpp +++ b/domain/include/turns/domain/participant.hpp @@ -22,8 +22,13 @@ namespace turns::domain auto property_name() -> Glib::PropertyProxy; auto property_name() const -> Glib::PropertyProxy_ReadOnly; + auto get_name() const -> Glib::ustring; + auto set_name(Glib::ustring value) -> void; + auto property_priority() -> Glib::PropertyProxy; auto property_priority() const -> Glib::PropertyProxy_ReadOnly; + auto get_priority() const noexcept -> float; + auto set_priority(float value) -> void; private: Glib::Property m_name; diff --git a/domain/include/turns/domain/turn_order.hpp b/domain/include/turns/domain/turn_order.hpp index f7eb773..cb51af6 100644 --- a/domain/include/turns/domain/turn_order.hpp +++ b/domain/include/turns/domain/turn_order.hpp @@ -4,8 +4,8 @@ #include "turns/domain/participant.hpp" #include -#include #include +#include namespace turns::domain { @@ -15,8 +15,8 @@ namespace turns::domain using super = Gio::ListStore; using super::super; - using super::remove; using super::append; + using super::remove; auto static create() -> Glib::RefPtr; -- cgit v1.2.3