]> git.0d.be Git - empathy.git/blobdiff - src/empathy-import-dialog.h
Updated Galician translations for docs
[empathy.git] / src / empathy-import-dialog.h
index 14ab33b47904171cd53dd0a83e2afb1a23ee3ac8..8fce49fcdc0ba2caa26850b426644c595a4ec933 100644 (file)
@@ -25,6 +25,8 @@
 #ifndef __EMPATHY_IMPORT_DIALOG_H__
 #define __EMPATHY_IMPORT_DIALOG_H__
 
+#include <tp-account-widgets/tpaw-connection-managers.h>
+
 G_BEGIN_DECLS
 
 #define EMPATHY_TYPE_IMPORT_DIALOG empathy_import_dialog_get_type()
@@ -42,18 +44,6 @@ G_BEGIN_DECLS
   (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\
       EmpathyImportDialogClass))
 
-typedef struct
-{
-  /* Table mapping CM param string to a GValue */
-  GHashTable *settings;
-  /* Protocol name */
-  gchar *protocol;
-  /* Connection manager name */
-  gchar *connection_manager;
-  /* The name of the account import source */
-  gchar *source;
-} EmpathyImportAccountData;
-
 typedef struct {
   GtkDialog parent;
 
@@ -68,13 +58,8 @@ typedef struct {
 GType empathy_import_dialog_get_type (void);
 
 GtkWidget* empathy_import_dialog_new (GtkWindow *parent_window,
-    gboolean show_warning);
-
-EmpathyImportAccountData *empathy_import_account_data_new (
-    const gchar *source);
-void empathy_import_account_data_free (EmpathyImportAccountData *data);
-
-gboolean empathy_import_dialog_accounts_to_import (void);
+    gboolean show_warning,
+    TpawConnectionManagers *cms);
 
 G_END_DECLS