aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-chooser.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk/empathy-contact-chooser.h')
-rw-r--r--libempathy-gtk/empathy-contact-chooser.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-contact-chooser.h b/libempathy-gtk/empathy-contact-chooser.h
index 5af938d5d..142660a6b 100644
--- a/libempathy-gtk/empathy-contact-chooser.h
+++ b/libempathy-gtk/empathy-contact-chooser.h
@@ -31,6 +31,13 @@ typedef struct _EmpathyContactChooser EmpathyContactChooser;
typedef struct _EmpathyContactChooserClass EmpathyContactChooserClass;
typedef struct _EmpathyContactChooserPrivate EmpathyContactChooserPrivate;
+typedef gboolean (*EmpathyContactChooserFilterFunc) (
+ EmpathyContactChooser *self,
+ FolksIndividual *individual,
+ gboolean is_online,
+ gboolean searching,
+ gpointer user_data);
+
struct _EmpathyContactChooser
{
GtkBox parent;
@@ -50,6 +57,10 @@ GtkWidget * empathy_contact_chooser_new (EmpathyTpChat *tp_chat);
TpContact * empathy_contact_chooser_get_selected (
EmpathyContactChooser *self);
+void empathy_contact_chooser_set_filter_func (EmpathyContactChooser *self,
+ EmpathyContactChooserFilterFunc func,
+ gpointer user_data);
+
G_END_DECLS
#endif