]> git.0d.be Git - empathy.git/blob - src/empathy-import-dialog.h
Merge branch 'irc-dialog-579800'
[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., 59 Temple Place - Suite 330,
17  * Boston, MA 02111-1307, USA.
18  *
19  * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
20  */
21
22 #include <gtk/gtk.h>
23
24 #ifndef __EMPATHY_IMPORT_DIALOG_H__
25 #define __EMPATHY_IMPORT_DIALOG_H__
26
27 G_BEGIN_DECLS
28
29 typedef struct
30 {
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;
38
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);
43
44 G_END_DECLS
45
46 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */