summaryrefslogtreecommitdiff
path: root/lib/include/turnsmm/turn-order.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-06-05 15:00:34 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-06-05 15:00:34 +0200
commit8b871a613647f64658bf6c098510cc3a35ba1b48 (patch)
treeff87802a949ae9bbdb5f10ca7da1e4e317d62a3b /lib/include/turnsmm/turn-order.hpp
parent938328d3c87d5b7f2d56921cc5893f1c2d98302d (diff)
downloadturns-8b871a613647f64658bf6c098510cc3a35ba1b48.tar.xz
turns-8b871a613647f64658bf6c098510cc3a35ba1b48.zip
lib: add round-progress property to TurnOrder
Diffstat (limited to 'lib/include/turnsmm/turn-order.hpp')
-rw-r--r--lib/include/turnsmm/turn-order.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/include/turnsmm/turn-order.hpp b/lib/include/turnsmm/turn-order.hpp
index ebe09f7..759eedb 100644
--- a/lib/include/turnsmm/turn-order.hpp
+++ b/lib/include/turnsmm/turn-order.hpp
@@ -55,6 +55,7 @@ namespace Turns
[[nodiscard]] auto get_empty() const noexcept -> bool;
[[nodiscard]] auto get_participant_count() const noexcept -> std::size_t;
[[nodiscard]] auto get_running() const noexcept -> bool;
+ [[nodiscard]] auto get_round_progress() const noexcept -> float;
[[nodiscard]] auto get_sort_mode() const noexcept -> SortMode;
auto set_sort_mode(SortMode value) noexcept -> void;
@@ -62,6 +63,7 @@ namespace Turns
[[nodiscard]] auto property_empty() const noexcept -> Glib::PropertyProxy_ReadOnly<bool>;
[[nodiscard]] auto property_participant_count() const noexcept -> Glib::PropertyProxy_ReadOnly<std::size_t>;
[[nodiscard]] auto property_running() const noexcept -> Glib::PropertyProxy_ReadOnly<bool>;
+ [[nodiscard]] auto property_round_progress() const noexcept -> Glib::PropertyProxy_ReadOnly<float>;
[[nodiscard]] auto property_sort_mode() noexcept -> Glib::PropertyProxy<SortMode>;
[[nodiscard]] auto property_sort_mode() const noexcept -> Glib::PropertyProxy_ReadOnly<SortMode>;