From d1d171775f768be1dcdee194be5134f334c63347 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 23 May 2025 12:26:50 +0200 Subject: lib: add empty property to TurnOrder --- core/include/turns/core/turn_order_model.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'core') diff --git a/core/include/turns/core/turn_order_model.hpp b/core/include/turns/core/turn_order_model.hpp index 7d9947d..b7ce484 100644 --- a/core/include/turns/core/turn_order_model.hpp +++ b/core/include/turns/core/turn_order_model.hpp @@ -38,17 +38,17 @@ namespace turns::core using round_number_type = unsigned int; using skip_defeated_type = bool; - auto static constexpr invalid_participant_index = std::numeric_limits::max(); - auto static constexpr invalid_round_number = std::numeric_limits::max(); + // auto static constexpr invalid_participant_index = std::numeric_limits::max(); + // auto static constexpr invalid_round_number = std::numeric_limits::max(); /** Life-time */ - TurnOderModel(); + // TurnOderModel(); - auto static create() -> Glib::RefPtr; - auto static create(nlohmann::json const & from) -> Glib::RefPtr; + // auto static create() -> Glib::RefPtr; + // auto static create(nlohmann::json const & from) -> Glib::RefPtr; /** Properties */ - auto is_empty() const -> Glib::PropertyProxy_ReadOnly; + // auto is_empty() const -> Glib::PropertyProxy_ReadOnly; auto has_next() const -> Glib::PropertyProxy_ReadOnly; auto has_previous() const -> Glib::PropertyProxy_ReadOnly; auto is_running() const -> Glib::PropertyProxy_ReadOnly; @@ -57,9 +57,9 @@ namespace turns::core auto skip_defeated() -> Glib::PropertyProxy; /** Element Modifications */ - auto add(Glib::ustring const & name, float priority, Disposition disposition) -> void; - auto clear() -> void; - auto remove(unsigned index) -> void; + // auto add(Glib::ustring const & name, float priority, Disposition disposition) -> void; + // auto clear() -> void; + // auto remove(unsigned index) -> void; /** Turn Modification */ auto next() -> void; -- cgit v1.2.3