diff options
Diffstat (limited to 'domain/include')
| -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>; |
