summaryrefslogtreecommitdiff
path: root/lib/src/turnsmm/participant.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/turnsmm/participant.hpp')
-rw-r--r--lib/src/turnsmm/participant.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/src/turnsmm/participant.hpp b/lib/src/turnsmm/participant.hpp
index 53a7787..b23fd42 100644
--- a/lib/src/turnsmm/participant.hpp
+++ b/lib/src/turnsmm/participant.hpp
@@ -2,7 +2,7 @@
#define TURNSMM_PARTICIPANT_HPP
#include "turns-participant.h"
-#include "turnsmm/enums.hpp"
+#include "turnsmm/enum_helpers.hpp"
#include <glibmm/object.h>
#include <glibmm/propertyproxy.h>
@@ -10,6 +10,7 @@
#include <glibmm/ustring.h>
#include <glib-object.h>
+#include <glib.h>
namespace Turns
{
@@ -22,6 +23,14 @@ namespace Turns
using CppClassType = class Participant_Class;
using CppObjectType = Participant;
+ enum struct Disposition : guint
+ {
+ Neutral,
+ Friendly,
+ Hostile,
+ Secret,
+ };
+
auto static get_base_type() -> GType;
auto static get_type() -> GType;
@@ -68,6 +77,8 @@ namespace Turns
namespace Glib
{
+ TURNS_DECLARE_ENUM_VALUE_SPECIALIZATION(Participant::Disposition);
+
auto wrap(TurnsParticipant * object, bool copy = false) -> Glib::RefPtr<Turns::Participant>;
} // namespace Glib