Update python binding
[empathy.git] / src / empathy-import-dialog.h
blob278afc701f21af6d3e17de0541f729201ee893f7
1 /*
2 * Copyright (C) 2008 Collabora Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
19 * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
22 #include <gtk/gtk.h>
24 #ifndef __EMPATHY_IMPORT_DIALOG_H__
25 #define __EMPATHY_IMPORT_DIALOG_H__
27 G_BEGIN_DECLS
29 typedef struct
31 /* Table mapping CM param string to a GValue */
32 GHashTable *settings;
33 /* The profile to use for this account */
34 McProfile *profile;
35 /* The name of the account import source */
36 gchar *source;
37 } EmpathyImportAccountData;
39 EmpathyImportAccountData *empathy_import_account_data_new (const gchar *source);
40 void empathy_import_account_data_free (EmpathyImportAccountData *data);
41 gboolean empathy_import_dialog_accounts_to_import (void);
42 void empathy_import_dialog_show (GtkWindow *parent, gboolean warning);
44 G_END_DECLS
46 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */