| libempathy Reference Manual | ||||
|---|---|---|---|---|
EmpathyPresence;
EmpathyPresence* empathy_presence_new (void);
EmpathyPresence* empathy_presence_new_full (McPresence state,
const gchar *status);
McPresence empathy_presence_get_state (EmpathyPresence *presence);
const gchar* empathy_presence_get_status (EmpathyPresence *presence);
void empathy_presence_set_state (EmpathyPresence *presence,
McPresence state);
void empathy_presence_set_status (EmpathyPresence *presence,
const gchar *status);
gint empathy_presence_sort_func (gconstpointer a,
gconstpointer b);
const gchar* empathy_presence_state_get_default_status
(McPresence state);
const gchar* empathy_presence_state_to_str (McPresence state);
McPresence empathy_presence_state_from_str (const gchar *str);
EmpathyPresence* empathy_presence_new_full (McPresence state, const gchar *status);
state : |
|
status : |
|
| Returns : |
McPresence empathy_presence_get_state (EmpathyPresence *presence);
presence : |
|
| Returns : |
const gchar* empathy_presence_get_status (EmpathyPresence *presence);
presence : |
|
| Returns : |
void empathy_presence_set_state (EmpathyPresence *presence, McPresence state);
presence : |
|
state : |
void empathy_presence_set_status (EmpathyPresence *presence, const gchar *status);
presence : |
|
status : |
gint empathy_presence_sort_func (gconstpointer a,
gconstpointer b);
a : |
|
b : |
|
| Returns : |
const gchar* empathy_presence_state_get_default_status
(McPresence state);
state : |
|
| Returns : |
const gchar* empathy_presence_state_to_str (McPresence state);
state : |
|
| Returns : |
McPresence empathy_presence_state_from_str (const gchar *str);
str : |
|
| Returns : |
state" property"state" McPresence : Read / Write
The current state of the presence.
Default value: MC_PRESENCE_AVAILABLE