tpa-presence

tpa-presence

Synopsis




                    TpaIPresence;
                    TpaIPresencePrivate;
void                tpa_presence_init                   (TpaIPresence *iface,
                                                         gpointer data);
void                tpa_presence_finalize               (GObject *obj);
gboolean            tpa_presence_update                 (GObject *obj,
                                                         const gchar *contact,
                                                         const gchar *status,
                                                         const gchar *message);
void                tpa_presence_signal_presence_update (GObject *obj);

Object Hierarchy


  GInterface
   +----TpaIPresence

Known Implementations

TpaIPresence is implemented by TpaAccount.

Signals


  "presence-update"                                : Run Last / Has Details

Description

Details

TpaIPresence

typedef struct _TpaIPresence TpaIPresence;


TpaIPresencePrivate

typedef struct _TpaIPresencePrivate TpaIPresencePrivate;


tpa_presence_init ()

void                tpa_presence_init                   (TpaIPresence *iface,
                                                         gpointer data);

iface :
data :

tpa_presence_finalize ()

void                tpa_presence_finalize               (GObject *obj);

obj :

tpa_presence_update ()

gboolean            tpa_presence_update                 (GObject *obj,
                                                         const gchar *contact,
                                                         const gchar *status,
                                                         const gchar *message);

Format presences status to telepathy spec.

return: GHashTable to be emmit with tpa_presence_signal_presence_update.

obj :
contact :
status :
message :
Returns :

tpa_presence_signal_presence_update ()

void                tpa_presence_signal_presence_update (GObject *obj);

Implements DBus signal PresenceUpdate on interface org.freedesktop.Telepathy.Connection.Interface.Presence

obj :

Signal Details

The "presence-update" signal

void                user_function                      (TpaIPresence *tpaipresence,
                                                        gpointer      user_data)         : Run Last / Has Details

tpaipresence : the object which received the signal.
user_data : user data set when the signal handler was connected.