diff options
Diffstat (limited to 'libempathy-gtk/empathy-roster-model-aggregator.h')
-rw-r--r-- | libempathy-gtk/empathy-roster-model-aggregator.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-roster-model-aggregator.h b/libempathy-gtk/empathy-roster-model-aggregator.h index 74dc560a3..e29e36eb0 100644 --- a/libempathy-gtk/empathy-roster-model-aggregator.h +++ b/libempathy-gtk/empathy-roster-model-aggregator.h @@ -26,6 +26,8 @@ #include <folks/folks.h> +#include "empathy-roster-model.h" + G_BEGIN_DECLS typedef struct _EmpathyRosterModelAggregator EmpathyRosterModelAggregator; @@ -47,6 +49,11 @@ struct _EmpathyRosterModelAggregator EmpathyRosterModelAggregatorPriv *priv; }; +typedef gboolean (* EmpathyRosterModelAggregatorFilterFunc) ( + EmpathyRosterModel *model, + FolksIndividual *individual, + gpointer user_data); + GType empathy_roster_model_aggregator_get_type (void); /* TYPE MACROS */ @@ -71,11 +78,15 @@ GType empathy_roster_model_aggregator_get_type (void); EMPATHY_TYPE_ROSTER_MODEL_AGGREGATOR, \ EmpathyRosterModelAggregatorClass)) -EmpathyRosterModelAggregator * empathy_roster_model_aggregator_new (void); +EmpathyRosterModelAggregator * empathy_roster_model_aggregator_new ( + EmpathyRosterModelAggregatorFilterFunc filter_func, + gpointer user_data); EmpathyRosterModelAggregator * empathy_roster_model_aggregator_new_with_aggregator ( - FolksIndividualAggregator *aggregator); + FolksIndividualAggregator *aggregator, + EmpathyRosterModelAggregatorFilterFunc filter_func, + gpointer user_data); G_END_DECLS |