]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-selector-dialog.h
Merge commit 'staz/dnd'
[empathy.git] / libempathy-gtk / empathy-contact-selector-dialog.h
index 255d37ee142d335b401e2124341e7a6b266ba739..318a9bcac31e7542f2399a41995b995f936538cd 100644 (file)
@@ -38,12 +38,10 @@ 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 {
@@ -55,12 +53,22 @@ struct _EmpathyContactSelectorDialog {
 };
 
 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 \
   (empathy_contact_selector_dialog_get_type ())