aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-roster-model.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-roster-model.h')
-rw-r--r--libempathy-gtk/empathy-roster-model.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-model.h b/libempathy-gtk/empathy-roster-model.h
index 75b0b1055..e6c382825 100644
--- a/libempathy-gtk/empathy-roster-model.h
+++ b/libempathy-gtk/empathy-roster-model.h
@@ -22,6 +22,8 @@
#include <glib-object.h>
+#include <folks/folks.h>
+
G_BEGIN_DECLS
typedef struct _EmpathyRosterModel EmpathyRosterModel;
@@ -33,6 +35,7 @@ struct _EmpathyRosterModelInterface
GTypeInterface g_iface;
/* Virtual table */
+ GList * (* get_individuals) (EmpathyRosterModel *self);
};
GType empathy_roster_model_get_type (void);
@@ -52,6 +55,17 @@ GType empathy_roster_model_get_type (void);
EMPATHY_TYPE_ROSTER_MODEL, \
EmpathyRosterModelInterface))
+/* Restricted */
+
+void empathy_roster_model_fire_individual_added (EmpathyRosterModel *self,
+ FolksIndividual *individual);
+
+void empathy_roster_model_fire_individual_removed (EmpathyRosterModel *self,
+ FolksIndividual *individual);
+
+/* Public API */
+GList * empathy_roster_model_get_individuals (EmpathyRosterModel *self);
+
G_END_DECLS
#endif /* #ifndef __EMPATHY_ROSTER_MODEL_H__*/