| libempathy Reference Manual | ||||
|---|---|---|---|---|
EmpathyContactList;
EmpathyContactListIface;
EmpathyContactListInfo;
EmpathyContactListInfo* empathy_contact_list_info_new (EmpathyContact *contact,
const gchar *message);
void empathy_contact_list_info_free (EmpathyContactListInfo *info);
void empathy_contact_list_setup (EmpathyContactList *list);
EmpathyContact* empathy_contact_list_find (EmpathyContactList *list,
const gchar *id);
void empathy_contact_list_add (EmpathyContactList *list,
EmpathyContact *contact,
const gchar *message);
void empathy_contact_list_remove (EmpathyContactList *list,
EmpathyContact *contact,
const gchar *message);
GList* empathy_contact_list_get_members (EmpathyContactList *list);
GList* empathy_contact_list_get_local_pending
(EmpathyContactList *list);
void empathy_contact_list_process_pending
(EmpathyContactList *list,
EmpathyContact *contact,
gboolean accept);
EmpathyContactList is implemented by EmpathyContactManager, EmpathyTpContactList and EmpathyTpChatroom.
typedef struct {
GTypeInterface base_iface;
/* VTabled */
void (*setup) (EmpathyContactList *list);
EmpathyContact * (*find) (EmpathyContactList *list,
const gchar *id);
void (*add) (EmpathyContactList *list,
EmpathyContact *contact,
const gchar *message);
void (*remove) (EmpathyContactList *list,
EmpathyContact *contact,
const gchar *message);
GList * (*get_members) (EmpathyContactList *list);
GList * (*get_local_pending) (EmpathyContactList *list);
void (*process_pending) (EmpathyContactList *list,
EmpathyContact *contact,
gboolean accept);
} EmpathyContactListIface;
typedef struct {
EmpathyContact *contact;
gchar *message;
} EmpathyContactListInfo;
EmpathyContactListInfo* empathy_contact_list_info_new (EmpathyContact *contact, const gchar *message);
contact : |
|
message : |
|
| Returns : |
void empathy_contact_list_info_free (EmpathyContactListInfo *info);
info : |
EmpathyContact* empathy_contact_list_find (EmpathyContactList *list, const gchar *id);
list : |
|
id : |
|
| Returns : |
void empathy_contact_list_add (EmpathyContactList *list, EmpathyContact *contact, const gchar *message);
list : |
|
contact : |
|
message : |
void empathy_contact_list_remove (EmpathyContactList *list, EmpathyContact *contact, const gchar *message);
list : |
|
contact : |
|
message : |
GList* empathy_contact_list_get_members (EmpathyContactList *list);
list : |
|
| Returns : |
GList* empathy_contact_list_get_local_pending
(EmpathyContactList *list);
list : |
|
| Returns : |
void empathy_contact_list_process_pending
(EmpathyContactList *list,
EmpathyContact *contact,
gboolean accept);
list : |
|
contact : |
|
accept : |
void user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, gpointer user_data) : Run Last
empathycontactlist : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, gpointer user_data) : Run Last
empathycontactlist : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
void user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, gchar *arg2, gpointer user_data) : Run Last
empathycontactlist : |
the object which received the signal. |
arg1 : |
|
arg2 : |
|
user_data : |
user data set when the signal handler was connected. |