|  |  |  | libempathy Reference Manual |  | 
|---|---|---|---|---|
                    EmpathyContactList;
                    EmpathyContactListIface;
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_pendings   (EmpathyContactList *list);
GList*              empathy_contact_list_get_all_groups (EmpathyContactList *list);
GList*              empathy_contact_list_get_groups     (EmpathyContactList *list,
                                                         EmpathyContact *contact);
void                empathy_contact_list_add_to_group   (EmpathyContactList *list,
                                                         EmpathyContact *contact,
                                                         const gchar *group);
void                empathy_contact_list_remove_from_group
                                                        (EmpathyContactList *list,
                                                         EmpathyContact *contact,
                                                         const gchar *group);
void                empathy_contact_list_rename_group   (EmpathyContactList *list,
                                                         const gchar *old_group,
                                                         const gchar *new_group);
void                empathy_contact_list_remove_group   (EmpathyContactList *list,
                                                         const gchar *group);
EmpathyContactList is implemented by EmpathyContactManager, EmpathyTpContactList and EmpathyTpChat.
typedef struct {
	GTypeInterface   base_iface;
	/* VTabled */
	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_pendings)      (EmpathyContactList *list);
	GList *          (*get_all_groups)    (EmpathyContactList *list);
	GList *          (*get_groups)        (EmpathyContactList *list,
					       EmpathyContact     *contact);
	void             (*add_to_group)      (EmpathyContactList *list,
					       EmpathyContact     *contact,
					       const gchar        *group);
	void             (*remove_from_group) (EmpathyContactList *list,
					       EmpathyContact     *contact,
					       const gchar        *group);
	void             (*rename_group)      (EmpathyContactList *list,
					       const gchar        *old_group,
					       const gchar        *new_group);
	void		 (*remove_group)      (EmpathyContactList *list,
					       const gchar	  *group);
} EmpathyContactListIface;
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);
| 
 | |
| Returns : | 
GList* empathy_contact_list_get_pendings (EmpathyContactList *list);
| 
 | |
| Returns : | 
GList* empathy_contact_list_get_all_groups (EmpathyContactList *list);
| 
 | |
| Returns : | 
GList* empathy_contact_list_get_groups (EmpathyContactList *list, EmpathyContact *contact);
| 
 | |
| 
 | |
| Returns : | 
void empathy_contact_list_add_to_group (EmpathyContactList *list, EmpathyContact *contact, const gchar *group);
| 
 | |
| 
 | |
| 
 | 
void                empathy_contact_list_remove_from_group
                                                        (EmpathyContactList *list,
                                                         EmpathyContact *contact,
                                                         const gchar *group);
| 
 | |
| 
 | |
| 
 | 
void empathy_contact_list_rename_group (EmpathyContactList *list, const gchar *old_group, const gchar *new_group);
| 
 | |
| 
 | |
| 
 | 
void empathy_contact_list_remove_group (EmpathyContactList *list, const gchar *group);
| 
 | |
| 
 | 
"groups-changed" signalvoid user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, gchar *arg2, gboolean arg3, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. | 
"members-changed" signalvoid user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gboolean arg5, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. | 
"pendings-changed" signalvoid user_function (EmpathyContactList *empathycontactlist, EmpathyContact *arg1, EmpathyContact *arg2, guint arg3, gchar *arg4, gboolean arg5, gpointer user_data) : Run Last
| 
 | the object which received the signal. | 
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | user data set when the signal handler was connected. |