summaryrefslogtreecommitdiff
path: root/lib/src/turns-turn-order.h
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-23 11:06:04 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-23 11:06:04 +0200
commit260df0a1158385736b2da24a2e4a14e365d1ec92 (patch)
treee589f2941e514785a0126a7512a191009fed4569 /lib/src/turns-turn-order.h
parentddce5043e70de5eab3d35b0986faf9a12933dedf (diff)
downloadturns-260df0a1158385736b2da24a2e4a14e365d1ec92.tar.xz
turns-260df0a1158385736b2da24a2e4a14e365d1ec92.zip
lib: add remove_at to TurnOrder
Diffstat (limited to 'lib/src/turns-turn-order.h')
-rw-r--r--lib/src/turns-turn-order.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/src/turns-turn-order.h b/lib/src/turns-turn-order.h
index a69700f..91220b9 100644
--- a/lib/src/turns-turn-order.h
+++ b/lib/src/turns-turn-order.h
@@ -67,6 +67,14 @@ void turns_turn_order_add(TurnsTurnOrder * self, TurnsParticipant * participant)
void turns_turn_order_clear(TurnsTurnOrder * self);
/**
+ * turns_turn_order_remove_at:
+ * @self: a turn order
+ *
+ * Removes the participant at the given position.
+ */
+void turns_turn_order_remove_at(TurnsTurnOrder * self, guint position);
+
+/**
* turns_turn_order_get_participant_count:
* @self: a turn order.
*