]> git.0d.be Git - empathy.git/blob - src/empathy-import-dialog.h
Fix long lines
[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
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   /* Protocol name */
34   gchar *protocol;
35   /* Connection manager name */
36   gchar *connection_manager;
37   /* The name of the account import source */
38   gchar *source;
39 } EmpathyImportAccountData;
40
41 EmpathyImportAccountData *empathy_import_account_data_new (const gchar *source);
42 void empathy_import_account_data_free (EmpathyImportAccountData *data);
43 gboolean empathy_import_dialog_accounts_to_import (void);
44 void empathy_import_dialog_show (GtkWindow *parent, gboolean warning);
45
46 G_END_DECLS
47
48 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */