summaryrefslogtreecommitdiff
path: root/lib/include/turns-turn-order.h
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/turns-turn-order.h
parent938328d3c87d5b7f2d56921cc5893f1c2d98302d (diff)
downloadturns-8b871a613647f64658bf6c098510cc3a35ba1b48.tar.xz
turns-8b871a613647f64658bf6c098510cc3a35ba1b48.zip
lib: add round-progress property to TurnOrder
Diffstat (limited to 'lib/include/turns-turn-order.h')
-rw-r--r--lib/include/turns-turn-order.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/include/turns-turn-order.h b/lib/include/turns-turn-order.h
index 5e34405..0f42369 100644
--- a/lib/include/turns-turn-order.h
+++ b/lib/include/turns-turn-order.h
@@ -10,6 +10,7 @@
#include <glib-object.h>
#include <glib.h>
+#include <glibconfig.h>
G_BEGIN_DECLS
@@ -103,6 +104,15 @@ G_GNUC_WARN_UNUSED_RESULT
gboolean turns_turn_order_get_running(TurnsTurnOrder const * self);
/**
+ * turns_turn_order_get_round_progress: (get-property round-progress):
+ * @self: a turn order.
+ *
+ * Gets the progress of the current round.
+ */
+G_GNUC_WARN_UNUSED_RESULT
+gfloat turns_turn_order_get_round_progress(TurnsTurnOrder const * self);
+
+/**
* turns_turn_order_get_sort_mode: (get-property sort-mode):
* @self: a turn order.
*