summaryrefslogtreecommitdiff
path: root/lib/src/turns-participant.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/src/turns-participant.h')
-rw-r--r--lib/src/turns-participant.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/src/turns-participant.h b/lib/src/turns-participant.h
index a2af8d6..a0e0d98 100644
--- a/lib/src/turns-participant.h
+++ b/lib/src/turns-participant.h
@@ -32,6 +32,22 @@ TurnsParticipant * turns_participant_new() G_GNUC_WARN_UNUSED_RESULT;
TurnsParticipant * turns_participant_new_with(gchar const * name, gfloat priority, TurnsDisposition disposition) G_GNUC_WARN_UNUSED_RESULT;
/**
+ * @brief Get the active state of a participant.
+ *
+ * @param self A Participant instance. The value *must not* be NULL.
+ * @return The active state of the instance.
+ */
+gboolean turns_participant_get_active(TurnsParticipant const * self);
+
+/**
+ * @brief Get the defeated state of a participant.
+ *
+ * @param self A Participant instance. The value *must not* be NULL.
+ * @return The defeated state of the instance.
+ */
+gboolean turns_participant_get_defeated(TurnsParticipant const * self);
+
+/**
* @brief Get the disposition of a participant.
*
* @param self A Participant instance. The value *must not* be NULL.
@@ -56,6 +72,22 @@ gchar const * turns_participant_get_name(TurnsParticipant const * self);
gfloat turns_participant_get_priority(TurnsParticipant const * self);
/**
+ * @brief Set the active state of a participant.
+ *
+ * @param self A Participant instance. The value *must not* be NULL.
+ * @return The new active state.
+ */
+void turns_participant_set_active(TurnsParticipant * self, gboolean value);
+
+/**
+ * @brief Set the defeated state of a participant.
+ *
+ * @param self A Participant instance. The value *must not* be NULL.
+ * @param value The new defeated state.
+ */
+void turns_participant_set_defeated(TurnsParticipant * self, gboolean value);
+
+/**
* @brief Set the disposition of a participant.
*
* @param self A Participant instance. The value *must not* be NULL.