meanwhile  1.1.1
Data Fields
mwConferenceHandler Struct Reference

Handler structure used to provide callbacks for an instance of the conferencing service. More...

#include <mw_srvc_conf.h>

Data Fields

void(* clear )(struct mwServiceConference *srvc)
 optional. More...
 
void(* conf_closed )(struct mwConference *, guint32 reason)
 triggered when a conference is closed. More...
 
void(* conf_opened )(struct mwConference *conf, GList *members)
 triggered when we enter the conference. More...
 
void(* on_invited )(struct mwConference *conf, struct mwLoginInfo *inviter, const char *invite)
 triggered when we receive a conference invitation. More...
 
void(* on_peer_joined )(struct mwConference *, struct mwLoginInfo *)
 triggered when someone joins the conference More...
 
void(* on_peer_parted )(struct mwConference *, struct mwLoginInfo *)
 triggered when someone leaves the conference More...
 
void(* on_text )(struct mwConference *conf, struct mwLoginInfo *who, const char *what)
 triggered when someone says something More...
 
void(* on_typing )(struct mwConference *conf, struct mwLoginInfo *who, gboolean typing)
 typing notification More...
 

Detailed Description

Handler structure used to provide callbacks for an instance of the conferencing service.

Field Documentation

◆ clear

void(* mwConferenceHandler::clear) (struct mwServiceConference *srvc)

optional.

called from mwService_free

◆ conf_closed

void(* mwConferenceHandler::conf_closed) (struct mwConference *, guint32 reason)

triggered when a conference is closed.

This is typically when we've left it

◆ conf_opened

void(* mwConferenceHandler::conf_opened) (struct mwConference *conf, GList *members)

triggered when we enter the conference.

Provides the initial conference membership list as a GList of mwLoginInfo structures

Parameters
confthe conference just joined
membersmwLoginInfo list of existing conference members

◆ on_invited

void(* mwConferenceHandler::on_invited) (struct mwConference *conf, struct mwLoginInfo *inviter, const char *invite)

triggered when we receive a conference invitation.

Call mwConference_accept to accept the invitation and join the conference, or mwConference_close to reject the invitation.

Parameters
confthe newly created conference
inviterthe indentity of the user who sent the invitation
invitethe invitation text

◆ on_peer_joined

void(* mwConferenceHandler::on_peer_joined) (struct mwConference *, struct mwLoginInfo *)

triggered when someone joins the conference

◆ on_peer_parted

void(* mwConferenceHandler::on_peer_parted) (struct mwConference *, struct mwLoginInfo *)

triggered when someone leaves the conference

◆ on_text

void(* mwConferenceHandler::on_text) (struct mwConference *conf, struct mwLoginInfo *who, const char *what)

triggered when someone says something

◆ on_typing

void(* mwConferenceHandler::on_typing) (struct mwConference *conf, struct mwLoginInfo *who, gboolean typing)

typing notification


The documentation for this struct was generated from the following file: