diff options
Diffstat (limited to 'lib/src/turns-participant.h')
| -rw-r--r-- | lib/src/turns-participant.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/src/turns-participant.h b/lib/src/turns-participant.h index 502de32..a2af8d6 100644 --- a/lib/src/turns-participant.h +++ b/lib/src/turns-participant.h @@ -32,6 +32,14 @@ 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 disposition of a participant. + * + * @param self A Participant instance. The value *must not* be NULL. + * @return The disposition of the instance. + */ +TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self); + +/** * @brief Get the name of a participant. * * @param self A Participant instance. The value *must not* be NULL. @@ -48,12 +56,12 @@ gchar const * turns_participant_get_name(TurnsParticipant const * self); gfloat turns_participant_get_priority(TurnsParticipant const * self); /** - * @brief Get the disposition of a participant. + * @brief Set the disposition of a participant. * * @param self A Participant instance. The value *must not* be NULL. - * @return The disposition of the instance. + * @param value The new disposition. */ -TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self); +void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value); /** * @brief Set the name of a participant. @@ -71,14 +79,6 @@ void turns_participant_set_name(TurnsParticipant * self, gchar const * value); */ void turns_participant_set_priority(TurnsParticipant * self, gfloat value); -/** - * @brief Set the disposition of a participant. - * - * @param self A Participant instance. The value *must not* be NULL. - * @param value The new disposition. - */ -void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value); - G_END_DECLS #endif
\ No newline at end of file |
