1 /*
2  * Copyright (C) 2009 - 2011 Vivien Malerba <malerba@gnome-db.org>
3  * Copyright (C) 2011 Murray Cumming <murrayc@murrayc.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18  */
19 
20 #ifndef __GDAUI_DATA_IMPORT__
21 #define __GDAUI_DATA_IMPORT__
22 
23 #include <gtk/gtk.h>
24 #include <libgda/libgda.h>
25 
26 G_BEGIN_DECLS
27 
28 #define GDAUI_TYPE_DATA_IMPORT          (gdaui_data_import_get_type())
29 #define GDAUI_DATA_IMPORT(obj)          G_TYPE_CHECK_INSTANCE_CAST (obj, gdaui_data_import_get_type(), GdauiDataImport)
30 #define GDAUI_DATA_IMPORT_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, gdaui_data_import_get_type (), GdauiDataImportClass)
31 #define GDAUI_IS_DATA_IMPORT(obj)       G_TYPE_CHECK_INSTANCE_TYPE (obj, gdaui_data_import_get_type ())
32 
33 
34 typedef struct _GdauiDataImport      GdauiDataImport;
35 typedef struct _GdauiDataImportClass GdauiDataImportClass;
36 typedef struct _GdauiDataImportPriv  GdauiDataImportPriv;
37 
38 /* struct for the object's data */
39 struct _GdauiDataImport
40 {
41 	GtkPaned              object;
42 
43 	GdauiDataImportPriv *priv;
44 };
45 
46 /* struct for the object's class */
47 struct _GdauiDataImportClass
48 {
49 	GtkPanedClass         parent_class;
50 };
51 
52 /*
53  * Generic widget's methods
54 */
55 GType         gdaui_data_import_get_type     (void) G_GNUC_CONST;
56 GtkWidget    *gdaui_data_import_new          (void);
57 GdaDataModel *gdaui_data_import_get_model    (GdauiDataImport *import);
58 
59 
60 G_END_DECLS
61 
62 #endif
63 
64 
65 
66