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.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/src/turnsmm/turn-order.hpp b/lib/src/turnsmm/turn-order.hpp
index 25fc0b5..2dfa2ca 100644
--- a/lib/src/turnsmm/turn-order.hpp
+++ b/lib/src/turnsmm/turn-order.hpp
@@ -8,12 +8,16 @@
#include <glibmm/refptr.h>
#include <glibmm/ustring.h>
+#include <giomm/listmodel.h>
+#include <glib-object.h>
+
#include <cstddef>
namespace Turns
{
- class TurnOrder final : public Glib::Object
+ class TurnOrder final : public Glib::Object,
+ public Gio::ListModel
{
public:
using BaseClassType = TurnsTurnOrderClass;
@@ -21,6 +25,9 @@ namespace Turns
using CppClassType = class TurnOrder_Class;
using CppObjectType = TurnOrder;
+ auto static get_base_type() -> GType;
+ auto static get_type() -> GType;
+
TurnOrder();
[[nodiscard]] auto gobj() noexcept -> BaseObjectType *;