]> git.0d.be Git - empathy.git/blob - src/empathy-import-dialog.h
Merge branch 'fix-585601'
[empathy.git] / src / empathy-import-dialog.h
1 /*
2  * Copyright (C) 2008 Collabora Ltd.
3  *
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.
8  *
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.
13  *
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., 51 Franklin St, Fifth Floor,
17  * Boston, MA  02110-1301  USA
18  *
19  * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
20  */
21
22 #include <gtk/gtk.h>
23 #include <libmissioncontrol/mc-profile.h>
24
25 #ifndef __EMPATHY_IMPORT_DIALOG_H__
26 #define __EMPATHY_IMPORT_DIALOG_H__
27
28 G_BEGIN_DECLS
29
30 typedef struct
31 {
32   /* Table mapping CM param string to a GValue */
33   GHashTable *settings;
34   /* The profile to use for this account */
35   McProfile *profile;
36   /* The name of the account import source */
37   gchar *source;
38 } EmpathyImportAccountData;
39
40 EmpathyImportAccountData *empathy_import_account_data_new (const gchar *source);
41 void empathy_import_account_data_free (EmpathyImportAccountData *data);
42 gboolean empathy_import_dialog_accounts_to_import (void);
43 void empathy_import_dialog_show (GtkWindow *parent, gboolean warning);
44
45 G_END_DECLS
46
47 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */