]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-model.h
Merge branch 'gnome-3-8'
[empathy.git] / libempathy-gtk / empathy-roster-model.h
index 9d600089362a86b9417d86759c5442d0c98cca27..1b35f1a1c881de7266c2635e6b31cd57ece99732 100644 (file)
 #ifndef __EMPATHY_ROSTER_MODEL_H__
 #define __EMPATHY_ROSTER_MODEL_H__
 
-#include <glib-object.h>
-
 #include <folks/folks.h>
 
 G_BEGIN_DECLS
 
+#define EMPATHY_ROSTER_MODEL_GROUP_TOP_GROUP _("Top Contacts")
+#define EMPATHY_ROSTER_MODEL_GROUP_PEOPLE_NEARBY _("People Nearby")
+#define EMPATHY_ROSTER_MODEL_GROUP_UNGROUPED _("Ungrouped")
+
 typedef struct _EmpathyRosterModel EmpathyRosterModel;
 typedef struct _EmpathyRosterModelInterface EmpathyRosterModelInterface;
 
@@ -36,7 +38,7 @@ struct _EmpathyRosterModelInterface
 
   /* Virtual table */
   GList * (* get_individuals) (EmpathyRosterModel *self);
-  GList * (*get_groups_for_individual) (EmpathyRosterModel *self,
+  GList * (*dup_groups_for_individual) (EmpathyRosterModel *self,
       FolksIndividual *individual);
 };
 
@@ -73,7 +75,8 @@ void empathy_roster_model_fire_groups_changed (EmpathyRosterModel *self,
 /* Public API */
 GList * empathy_roster_model_get_individuals (EmpathyRosterModel *self);
 
-GList * empathy_roster_model_get_groups_for_individual (EmpathyRosterModel *self,
+GList * empathy_roster_model_dup_groups_for_individual (
+    EmpathyRosterModel *self,
     FolksIndividual *individual);
 
 G_END_DECLS