#ifndef __EMPATHY_ROSTER_MODEL_H__
#define __EMPATHY_ROSTER_MODEL_H__
-#include <glib-object.h>
-
#include <folks/folks.h>
-#include <libempathy-gtk/empathy-roster-contact.h>
-
G_BEGIN_DECLS
#define EMPATHY_ROSTER_MODEL_GROUP_TOP_GROUP _("Top Contacts")
/* Virtual table */
GList * (* get_individuals) (EmpathyRosterModel *self);
- GList * (*get_groups_for_individual) (EmpathyRosterModel *self,
+ GList * (*dup_groups_for_individual) (EmpathyRosterModel *self,
FolksIndividual *individual);
- GList * (*get_top_individuals) (EmpathyRosterModel *self);
- gboolean (*contact_in_top) (EmpathyRosterModel *self,
- EmpathyRosterContact *contact);
};
GType empathy_roster_model_get_type (void);
/* Public API */
GList * empathy_roster_model_get_individuals (EmpathyRosterModel *self);
-GList * empathy_roster_model_get_groups_for_individual (
+GList * empathy_roster_model_dup_groups_for_individual (
EmpathyRosterModel *self,
FolksIndividual *individual);
-GList * empathy_roster_model_get_top_individuals (EmpathyRosterModel *self);
-
-gboolean empathy_roster_model_contact_in_top (EmpathyRosterModel *self,
- EmpathyRosterContact *contact);
-
G_END_DECLS
#endif /* #ifndef __EMPATHY_ROSTER_MODEL_H__*/