diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-15 16:00:29 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-15 16:00:29 +0200 |
| commit | a23cda29f0acef40d883c37209389c956c14e83b (patch) | |
| tree | 8d9cb59da154da5cbe75cedbaf6b52ebc8d2eb54 /domain/include/turns | |
| parent | bcea0775a7a07738b3eec1b00cef618de84f3e41 (diff) | |
| download | turns-a23cda29f0acef40d883c37209389c956c14e83b.tar.xz turns-a23cda29f0acef40d883c37209389c956c14e83b.zip | |
turns: perform widespread code cleanup actions
Diffstat (limited to 'domain/include/turns')
| -rw-r--r-- | domain/include/turns/domain/participant.hpp | 5 | ||||
| -rw-r--r-- | domain/include/turns/domain/turn_order.hpp | 4 |
2 files changed, 7 insertions, 2 deletions
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<Glib::ustring>; auto property_name() const -> Glib::PropertyProxy_ReadOnly<Glib::ustring>; + auto get_name() const -> Glib::ustring; + auto set_name(Glib::ustring value) -> void; + auto property_priority() -> Glib::PropertyProxy<float>; auto property_priority() const -> Glib::PropertyProxy_ReadOnly<float>; + auto get_priority() const noexcept -> float; + auto set_priority(float value) -> void; private: Glib::Property<Glib::ustring> 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 <giomm/liststore.h> -#include <glibmm/ustring.h> #include <glibmm/refptr.h> +#include <glibmm/ustring.h> namespace turns::domain { @@ -15,8 +15,8 @@ namespace turns::domain using super = Gio::ListStore<participant>; using super::super; - using super::remove; using super::append; + using super::remove; auto static create() -> Glib::RefPtr<turn_order>; |
