summaryrefslogtreecommitdiff
path: root/lib/src/turnsmm/turn-order.hpp
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2025-05-16 18:39:44 +0200
committerFelix Morgner <felix.morgner@gmail.com>2025-05-16 18:39:44 +0200
commit842097d321e2ad9eedd7a171cdcca001d112de55 (patch)
treedc058fe2fe0a43198564882c12bea0acd3749af8 /lib/src/turnsmm/turn-order.hpp
parent39d704461bff127a54b0b64e68135ed48b3d989b (diff)
downloadturns-842097d321e2ad9eedd7a171cdcca001d112de55.tar.xz
turns-842097d321e2ad9eedd7a171cdcca001d112de55.zip
lib: implement addition of participants
Diffstat (limited to 'lib/src/turnsmm/turn-order.hpp')
-rw-r--r--lib/src/turnsmm/turn-order.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/src/turnsmm/turn-order.hpp b/lib/src/turnsmm/turn-order.hpp
index 8e6cdb3..9485275 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/participant.hpp"
#include <glibmm/object.h>
#include <glibmm/propertyproxy.h>
@@ -9,6 +10,7 @@
#include <glibmm/ustring.h>
#include <giomm/listmodel.h>
+
#include <glib-object.h>
#include <cstddef>
@@ -34,6 +36,8 @@ namespace Turns
[[nodiscard]] auto gobj() const -> BaseObjectType const *;
[[nodiscard]] auto gobj_copy() noexcept -> BaseObjectType *;
+ auto add(Glib::RefPtr<Participant> const & participant) noexcept -> void;
+
[[nodiscard]] auto get_participant_count() const noexcept -> std::size_t;
[[nodiscard]] auto get_running() const noexcept -> bool;