aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-chooser.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-08-05 17:57:25 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-08-05 21:03:04 +0800
commit3aa8239213c026f5b09d50669f7a4a65c9906659 (patch)
tree6255d41f31612a653043d53baae8b6e6c3f2ac1a /libempathy-gtk/empathy-contact-chooser.h
parent820b5479bd14c6b408a3818f9bc287ad0a3e2fb8 (diff)
downloadgsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar.gz
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar.bz2
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar.lz
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar.xz
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.tar.zst
gsoc2013-empathy-3aa8239213c026f5b09d50669f7a4a65c9906659.zip
Implement filtering logic in EmpathyInviteParticipantDialog
https://bugzilla.gnome.org/show_bug.cgi?id=656020
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