]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-selector-dialog.h
Updated Polish translation
[empathy.git] / libempathy-gtk / empathy-contact-selector-dialog.h
index b44dbd5b1b64c06709cadb0679a7733ed545aa09..318a9bcac31e7542f2399a41995b995f936538cd 100644 (file)
@@ -17,6 +17,7 @@
  *
  * Authors: Xavier Claessens <xclaesse@gmail.com>
  * Authors: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
+ * Authors: Danielle Madeley <danielle.madeley@collabora.co.uk>
  */
 
 #ifndef __EMPATHY_CONTACT_SELECTOR_DIALOG_H__
@@ -26,6 +27,7 @@
 #include <gtk/gtk.h>
 
 #include <telepathy-glib/connection.h>
+#include <telepathy-glib/account.h>
 
 G_BEGIN_DECLS
 
@@ -36,19 +38,36 @@ typedef struct _EmpathyContactSelectorDialogClass \
 struct _EmpathyContactSelectorDialogClass {
   GtkDialogClass parent_class;
 
-  void (*got_response) (EmpathyContactSelectorDialog *self,
-      TpConnection *connection,
-      const gchar *contact_id);
+  gboolean (*account_filter) (EmpathyContactSelectorDialog *self,
+      TpAccount *account);
+  gboolean (*contact_filter) (EmpathyContactSelectorDialog *self,
+      const char *id);
 };
 
 struct _EmpathyContactSelectorDialog {
   GtkDialog parent;
 
   /* protected fields */
+  GtkWidget *vbox;
   GtkWidget *button_action;
 };
 
 GType empathy_contact_selector_dialog_get_type (void);
+const gchar *empathy_contact_selector_dialog_get_selected (
+    EmpathyContactSelectorDialog *self,
+    TpConnection **connection);
+void empathy_contact_selector_dialog_set_show_account_chooser (
+    EmpathyContactSelectorDialog *self,
+    gboolean show_account_chooser);
+gboolean empathy_contact_selector_dialog_get_show_account_chooser (
+    EmpathyContactSelectorDialog *self);
+
+void empathy_contact_selector_dialog_set_filter_account (
+    EmpathyContactSelectorDialog *self,
+    TpAccount *account);
+
+TpAccount * empathy_contact_selector_dialog_get_filter_account (
+    EmpathyContactSelectorDialog *self);
 
 /* TYPE MACROS */
 #define EMPATHY_TYPE_CONTACT_SELECTOR_DIALOG \