Updated Spanish translation
[empathy-mirror.git] / src / empathy-import-widget.h
blob48f2e1d489ae6aae4c70d8a2390fd273ef2fbbd0
1 /*
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>
23 /* empathy-import-widget.h */
25 #ifndef __EMPATHY_IMPORT_WIDGET_H__
26 #define __EMPATHY_IMPORT_WIDGET_H__
28 #include <glib-object.h>
30 #include "empathy-import-utils.h"
32 G_BEGIN_DECLS
34 #define EMPATHY_TYPE_IMPORT_WIDGET empathy_import_widget_get_type()
35 #define EMPATHY_IMPORT_WIDGET(obj) \
36 (G_TYPE_CHECK_INSTANCE_CAST ((obj), EMPATHY_TYPE_IMPORT_WIDGET,\
37 EmpathyImportWidget))
38 #define EMPATHY_IMPORT_WIDGET_CLASS(klass) \
39 (G_TYPE_CHECK_CLASS_CAST ((klass), EMPATHY_TYPE_IMPORT_WIDGET,\
40 EmpathyImportWidgetClass))
41 #define EMPATHY_IS_IMPORT_WIDGET(obj) \
42 (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EMPATHY_TYPE_IMPORT_WIDGET))
43 #define EMPATHY_IS_IMPORT_WIDGET_CLASS(klass) \
44 (G_TYPE_CHECK_CLASS_TYPE ((klass), EMPATHY_TYPE_IMPORT_WIDGET))
45 #define EMPATHY_IMPORT_WIDGET_GET_CLASS(obj) \
46 (G_TYPE_INSTANCE_GET_CLASS ((obj), EMPATHY_TYPE_IMPORT_WIDGET,\
47 EmpathyImportWidgetClass))
49 typedef struct {
50 GObject parent;
52 /* private */
53 gpointer priv;
54 } EmpathyImportWidget;
56 typedef struct {
57 GObjectClass parent_class;
58 } EmpathyImportWidgetClass;
60 GType empathy_import_widget_get_type (void);
62 EmpathyImportWidget* empathy_import_widget_new (EmpathyImportApplication id);
64 GtkWidget * empathy_import_widget_get_widget (EmpathyImportWidget *self);
66 void empathy_import_widget_add_selected_accounts (EmpathyImportWidget *self);
68 G_END_DECLS
70 #endif /* __EMPATHY_IMPORT_WIDGET_H__ */