1 /*
2  * Copyright (C) 2010 - 2011 Vivien Malerba <malerba@gnome-db.org>
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
6  * as published by the Free Software Foundation; either version 2
7  * of the 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
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
17  */
18 
19 #ifndef __DATA_MODEL_ERRORS_H__
20 #define __DATA_MODEL_ERRORS_H__
21 
22 #include <libgda/gda-data-model.h>
23 
24 G_BEGIN_DECLS
25 
26 #define TYPE_DATA_MODEL_ERRORS            (data_model_errors_get_type())
27 #define DATA_MODEL_ERRORS(obj)            (G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DATA_MODEL_ERRORS, DataModelErrors))
28 #define DATA_MODEL_ERRORS_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST (klass, TYPE_DATA_MODEL_ERRORS, DataModelErrorsClass))
29 #define IS_DATA_MODEL_ERRORS(obj)         (G_TYPE_CHECK_INSTANCE_TYPE(obj, TYPE_DATA_MODEL_ERRORS))
30 #define IS_DATA_MODEL_ERRORS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), TYPE_DATA_MODEL_ERRORS))
31 
32 typedef struct _DataModelErrors        DataModelErrors;
33 typedef struct _DataModelErrorsClass   DataModelErrorsClass;
34 typedef struct _DataModelErrorsPrivate DataModelErrorsPrivate;
35 
36 struct _DataModelErrors {
37 	GObject                 object;
38 	DataModelErrorsPrivate *priv;
39 };
40 
41 struct _DataModelErrorsClass {
42 	GObjectClass            parent_class;
43 };
44 
45 GType         data_model_errors_get_type     (void) G_GNUC_CONST;
46 GdaDataModel *data_model_errors_new          (void);
47 
48 G_END_DECLS
49 
50 #endif
51