~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-client-gnome/src/conference_obj.h

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
/** @enum conference_state_t
42
42
  * This enum have all the states a conference can take.
43
43
  */
44
 
typedef enum
45
 
{
46
 
   CONFERENCE_STATE_ACTIVE_ATACHED = 0,
47
 
   CONFERENCE_STATE_ACTIVE_DETACHED,
48
 
   CONFERENCE_STATE_RECORD,
49
 
   CONFERENCE_STATE_HOLD
 
44
typedef enum {
 
45
    CONFERENCE_STATE_ACTIVE_ATACHED = 0,
 
46
    CONFERENCE_STATE_ACTIVE_DETACHED,
 
47
    CONFERENCE_STATE_RECORD,
 
48
    CONFERENCE_STATE_HOLD
50
49
} conference_state_t;
51
50
 
52
51
 
57
56
typedef struct  {
58
57
 
59
58
    conference_state_t _state;       // The state of the call
60
 
    gchar* _confID;                  // The call ID
 
59
    gchar *_confID;                  // The call ID
61
60
    gboolean _conference_secured;    // the security state of the conference
62
61
    gboolean _conf_srtp_enabled;     // security required for this conference
63
 
    GSList* participant_list;             // participant list for this 
 
62
    GSList *participant_list;        // participant list for this
 
63
    GtkWidget *_im_widget;           // associated instant messaging widget
64
64
 
65
65
} conference_obj_t;
66
66
 
67
 
conference_obj_t* create_new_conference (conference_state_t, const gchar*, conference_obj_t **);
 
67
void create_new_conference (conference_state_t, const gchar*, conference_obj_t **);
68
68
 
69
 
conference_obj_t* create_new_conference_from_details (const gchar *, GHashTable *, conference_obj_t **);
 
69
void create_new_conference_from_details (const gchar *, GHashTable *, conference_obj_t **);
70
70
 
71
71
void free_conference_obj_t (conference_obj_t *c);
72
72
 
73
 
/* 
74
 
 * GCompareFunc to compare a confID (gchar* and a callable_obj_t) 
 
73
/*
 
74
 * GCompareFunc to compare a confID (gchar* and a callable_obj_t)
75
75
 */
76
 
gint is_confID_confstruct ( gconstpointer, gconstpointer);
77
 
 
78
 
void conference_add_participatn(const gchar*, conference_obj_t *);
79
 
 
80
 
void conference_remove_participant(const gchar*, conference_obj_t *);
81
 
 
82
 
GSList* conference_next_participant(GSList* participant);
83
 
 
84
 
GSList* conference_participant_list_update(gchar**, conference_obj_t*);
 
76
gint is_confID_confstruct (gconstpointer, gconstpointer);
 
77
 
 
78
void conference_add_participatn (const gchar*, conference_obj_t *);
 
79
 
 
80
void conference_remove_participant (const gchar*, conference_obj_t *);
 
81
 
 
82
GSList* conference_next_participant (GSList* participant);
 
83
 
 
84
void conference_participant_list_update (gchar**, conference_obj_t*);
85
85
 
86
86
#endif