summaryrefslogtreecommitdiff
path: root/lib/src/turnsmm/turn-order.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/turnsmm/turn-order.hpp')
-rw-r--r--lib/src/turnsmm/turn-order.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/src/turnsmm/turn-order.hpp b/lib/src/turnsmm/turn-order.hpp
index 9485275..c135ab2 100644
--- a/lib/src/turnsmm/turn-order.hpp
+++ b/lib/src/turnsmm/turn-order.hpp
@@ -2,6 +2,7 @@
#define TURNSMM_TURN_ORDER_HPP
#include "turns-turn-order.h"
+#include "turnsmm/enums.hpp"
#include "turnsmm/participant.hpp"
#include <glibmm/object.h>
@@ -40,8 +41,13 @@ namespace Turns
[[nodiscard]] auto get_participant_count() const noexcept -> std::size_t;
[[nodiscard]] auto get_running() const noexcept -> bool;
+ [[nodiscard]] auto get_sort_mode() const noexcept -> SortMode;
+
+ auto set_sort_mode(SortMode value) noexcept -> void;
[[nodiscard]] auto property_running() const noexcept -> Glib::PropertyProxy_ReadOnly<bool>;
+ [[nodiscard]] auto property_sort_mode() noexcept -> Glib::PropertyProxy<SortMode>;
+ [[nodiscard]] auto property_sort_mode() const noexcept -> Glib::PropertyProxy_ReadOnly<SortMode>;
protected:
friend TurnOrder_Class;