diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-05-23 12:26:50 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-05-23 12:26:50 +0200 |
| commit | d1d171775f768be1dcdee194be5134f334c63347 (patch) | |
| tree | 46e3ddc8d84c68d86293462f8d0c7eb8ffa85473 /core/include | |
| parent | 260df0a1158385736b2da24a2e4a14e365d1ec92 (diff) | |
| download | turns-d1d171775f768be1dcdee194be5134f334c63347.tar.xz turns-d1d171775f768be1dcdee194be5134f334c63347.zip | |
lib: add empty property to TurnOrder
Diffstat (limited to 'core/include')
| -rw-r--r-- | core/include/turns/core/turn_order_model.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
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<active_participant_type>::max(); - auto static constexpr invalid_round_number = std::numeric_limits<round_number_type>::max(); + // auto static constexpr invalid_participant_index = std::numeric_limits<active_participant_type>::max(); + // auto static constexpr invalid_round_number = std::numeric_limits<round_number_type>::max(); /** Life-time */ - TurnOderModel(); + // TurnOderModel(); - auto static create() -> Glib::RefPtr<TurnOderModel>; - auto static create(nlohmann::json const & from) -> Glib::RefPtr<TurnOderModel>; + // auto static create() -> Glib::RefPtr<TurnOderModel>; + // auto static create(nlohmann::json const & from) -> Glib::RefPtr<TurnOderModel>; /** Properties */ - auto is_empty() const -> Glib::PropertyProxy_ReadOnly<is_empty_type>; + // auto is_empty() const -> Glib::PropertyProxy_ReadOnly<is_empty_type>; auto has_next() const -> Glib::PropertyProxy_ReadOnly<has_next_type>; auto has_previous() const -> Glib::PropertyProxy_ReadOnly<has_previous_type>; auto is_running() const -> Glib::PropertyProxy_ReadOnly<is_running_type>; @@ -57,9 +57,9 @@ namespace turns::core auto skip_defeated() -> Glib::PropertyProxy<skip_defeated_type>; /** 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; |
