## empathy-contact-list empathy-contact-list |

## Synopsis

    enum                EmpathyContactListFlags;
                        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);
    EmpathyContactMonitor * empathy_contact_list_get_monitor
                                                            (EmpathyContactList *list);
    EmpathyContactListFlags  empathy_contact_list_get_flags (EmpathyContactList *list);

## Description

## Details

### enum EmpathyContactListFlags

    typedef enum {
    	EMPATHY_CONTACT_LIST_CAN_ADD		= 1 << 0,
    	EMPATHY_CONTACT_LIST_CAN_REMOVE		= 1 << 1,
    	EMPATHY_CONTACT_LIST_CAN_ALIAS		= 1 << 2,
    	EMPATHY_CONTACT_LIST_CAN_GROUP		= 1 << 3,
    } EmpathyContactListFlags;

### EmpathyContactListIface

    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);
    	EmpathyContactMonitor *
    			 (*get_monitor)       (EmpathyContactList *list);
    	EmpathyContactListFlags
    			 (*get_flags)         (EmpathyContactList *list);
    } EmpathyContactListIface;

### empathy_contact_list_add ()

    void                empathy_contact_list_add            (EmpathyContactList *list,
                                                             EmpathyContact *contact,
                                                             const gchar *message);

`list` : |
`contact` : |
`message` : |

### empathy_contact_list_remove ()

    void                empathy_contact_list_remove         (EmpathyContactList *list,
                                                             EmpathyContact *contact,
                                                             const gchar *message);

`list` : |
`contact` : |
`message` : |

### empathy_contact_list_get_members ()

    GList *             empathy_contact_list_get_members    (EmpathyContactList *list);

`list` : |
Returns : |

### empathy_contact_list_get_pendings ()

    GList *             empathy_contact_list_get_pendings   (EmpathyContactList *list);

`list` : |
Returns : |

### empathy_contact_list_get_all_groups ()

    GList *             empathy_contact_list_get_all_groups (EmpathyContactList *list);

`list` : |
Returns : |

### empathy_contact_list_get_groups ()

    GList *             empathy_contact_list_get_groups     (EmpathyContactList *list,
                                                             EmpathyContact *contact);

`list` : |
`contact` : |
Returns : |

### empathy_contact_list_add_to_group ()

    void                empathy_contact_list_add_to_group   (EmpathyContactList *list,
                                                             EmpathyContact *contact,
                                                             const gchar *group);

`list` : |
`contact` : |
`group` : |

### empathy_contact_list_remove_from_group ()

    void                empathy_contact_list_remove_from_group
                                                            (EmpathyContactList *list,
                                                             EmpathyContact *contact,
                                                             const gchar *group);

`list` : |
`contact` : |
`group` : |

### empathy_contact_list_rename_group ()

    void                empathy_contact_list_rename_group   (EmpathyContactList *list,
                                                             const gchar *old_group,
                                                             const gchar *new_group);

`list` : |
`old_group` : |
`new_group` : |

### empathy_contact_list_remove_group ()

    void                empathy_contact_list_remove_group   (EmpathyContactList *list,
                                                             const gchar *group);

`list` : |
`group` : |

### empathy_contact_list_get_monitor ()

    EmpathyContactMonitor * empathy_contact_list_get_monitor
                                                            (EmpathyContactList *list);

`list` : |
Returns : |

### empathy_contact_list_get_flags ()

    EmpathyContactListFlags  empathy_contact_list_get_flags (EmpathyContactList *list);

`list` : |
Returns : |