aboutsummaryrefslogtreecommitdiff
path: root/core/include/turns/turns-participant.h
blob: 001de6bd028375641545d6cbe384099b5e6baf44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TURNS_PARTICIPANT_H
#define TURNS_PARTICIPANT_H

#include "turns/turns-disposition.h"

#include <glib-object.h>
#include <glib.h>
#include <glibconfig.h>

G_BEGIN_DECLS

#define TURNS_TYPE_PARTICIPANT turns_participant_get_type()
G_DECLARE_FINAL_TYPE(TurnsParticipant, turns_participant, TURNS, PARTICIPANT, GObject)

TurnsParticipant * turns_participant_new(gchar const * name, gfloat priority, TurnsDisposition disposition) G_GNUC_WARN_UNUSED_RESULT;

gchar const * turns_participant_get_name(TurnsParticipant const * self);
gfloat turns_participant_get_priority(TurnsParticipant const * self);
TurnsDisposition turns_participant_get_disposition(TurnsParticipant const * self);

void turns_participant_set_name(TurnsParticipant * self, gchar const * value);
void turns_participant_set_priority(TurnsParticipant * self, gfloat value);
void turns_participant_set_disposition(TurnsParticipant * self, TurnsDisposition value);

G_END_DECLS

#endif