2 * Copyright (C) 2008-2009 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., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301 USA
19 * Authors: Jonny Lamb <jonny.lamb@collabora.co.uk>
20 * Cosimo Cecchi <cosimo.cecchi@collabora.co.uk>
25 #ifndef __EMPATHY_IMPORT_DIALOG_H__
26 #define __EMPATHY_IMPORT_DIALOG_H__
28 #include <tp-account-widgets/tpaw-connection-managers.h>
32 #define EMPATHY_TYPE_IMPORT_DIALOG empathy_import_dialog_get_type()
33 #define EMPATHY_IMPORT_DIALOG(obj) \
34 (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\
36 #define EMPATHY_IMPORT_DIALOG_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_IMPORT_DIALOG,\
38 EmpathyImportDialogClass))
39 #define EMPATHY_IS_IMPORT_DIALOG(obj) \
40 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_IMPORT_DIALOG))
41 #define EMPATHY_IS_IMPORT_DIALOG_CLASS(klass) \
42 (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_IMPORT_DIALOG))
43 #define EMPATHY_IMPORT_DIALOG_GET_CLASS(obj) \
44 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_IMPORT_DIALOG,\
45 EmpathyImportDialogClass))
52 } EmpathyImportDialog
;
55 GtkDialogClass parent_class
;
56 } EmpathyImportDialogClass
;
58 GType
empathy_import_dialog_get_type (void);
60 GtkWidget
* empathy_import_dialog_new (GtkWindow
*parent_window
,
61 gboolean show_warning
,
62 TpawConnectionManagers
*cms
);
66 #endif /* __EMPATHY_IMPORT_DIALOG_H__ */