aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorLaurent Contzen <lcontzen@gmail.com>2012-08-04 18:12:30 +0800
committerLaurent Contzen <lcontzen@gmail.com>2012-08-06 17:02:18 +0800
commite0542a641adc30e04255b1eb561bbcd6e0b17da2 (patch)
tree68d6a92a07512c0b74052879ddda8472472c870e /libempathy-gtk
parentd4b4fb539cc29750527836b87590ff9e215d0b9d (diff)
downloadgsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.gz
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.bz2
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.lz
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.xz
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.tar.zst
gsoc2013-empathy-e0542a641adc30e04255b1eb561bbcd6e0b17da2.zip
Documented public functions in empathy-roster-model
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-roster-model.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-roster-model.c b/libempathy-gtk/empathy-roster-model.c
index d8671f279..80a82bf1d 100644
--- a/libempathy-gtk/empathy-roster-model.c
+++ b/libempathy-gtk/empathy-roster-model.c
@@ -90,6 +90,14 @@ empathy_roster_model_fire_groups_changed (EmpathyRosterModel *self,
/***** Public *****/
+/**
+ * empathy_roster_model_get_individuals:
+ * @self: a #EmpathyRosterModel
+ *
+ * Returns all the individuals stored by @self.
+ *
+ * Returns: (transfer container): a #GList of #FolksIndividual
+ */
GList *
empathy_roster_model_get_individuals (EmpathyRosterModel *self)
{
@@ -103,6 +111,16 @@ empathy_roster_model_get_individuals (EmpathyRosterModel *self)
return (* iface->get_individuals) (self);
}
+/**
+ * empathy_roster_model_get_groups_for_individual:
+ * @self: a #EmpathyRosterModel
+ * @individual: a #FolksIndidivual
+ *
+ * Returns the groups of which @individual is a member of.
+ *
+ * Returns: (transfer container): a #GList of (const gchar *) representing the
+ * groups of @individual
+ */
GList *
empathy_roster_model_get_groups_for_individual (EmpathyRosterModel *self,
FolksIndividual *individual)