| [Insert name here] Reference Manual | ||||
|---|---|---|---|---|
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);
typedef struct {
GTypeInterface parent;
TpaError (* add_status) (GObject *obj,
const gchar *status,
GHashTable *parms);
TpaError (* clear_status) (GObject *obj);
TpaError (* get_statuses) (GObject *obj,
GHashTable **ret);
TpaError (* request_presence) (GObject *obj,
const gchar *contact);
TpaError (* remove_status) (GObject *obj,
const gchar *status);
TpaError (* set_last_activity_time) (GObject *obj,
guint time);
TpaError (* set_status) (GObject *obj,
GHashTable *statuses);
TpaIPresencePrivate *priv;
} TpaIPresence;
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 : |