1 /*
2  * Copyright (C) 2006 - 2011 Vivien Malerba <malerba@gnome-db.org>
3  * Copyright (C) 2007 Murray Cumming <murrayc@murrayc.com>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2 of the License, or (at your option) any later version.
9  *
10  * This library 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 GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the
17  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18  * Boston, MA  02110-1301, USA.
19  */
20 
21 #ifndef __GDA_SQLITE_HANDLER_BIN__
22 #define __GDA_SQLITE_HANDLER_BIN__
23 
24 #include <glib-object.h>
25 #include <libgda/gda-data-handler.h>
26 
27 G_BEGIN_DECLS
28 
29 #define GDA_TYPE_SQLITE_HANDLER_BIN          (_gda_sqlite_handler_bin_get_type())
30 #define GDA_SQLITE_HANDLER_BIN(obj)          G_TYPE_CHECK_INSTANCE_CAST (obj, _gda_sqlite_handler_bin_get_type(), GdaSqliteHandlerBin)
31 #define GDA_SQLITE_HANDLER_BIN_CLASS(klass)  G_TYPE_CHECK_CLASS_CAST (klass, _gda_sqlite_handler_bin_get_type (), GdaSqliteHandlerBinClass)
32 #define GDA_IS_SQLITE_HANDLER_BIN(obj)       G_TYPE_CHECK_INSTANCE_TYPE (obj, _gda_sqlite_handler_bin_get_type ())
33 
34 
35 typedef struct _GdaSqliteHandlerBin      GdaSqliteHandlerBin;
36 typedef struct _GdaSqliteHandlerBinClass GdaSqliteHandlerBinClass;
37 typedef struct _GdaSqliteHandlerBinPriv  GdaSqliteHandlerBinPriv;
38 
39 
40 /* struct for the object's data */
41 struct _GdaSqliteHandlerBin
42 {
43 	GObject                   object;
44 
45 	GdaSqliteHandlerBinPriv  *priv;
46 };
47 
48 /* struct for the object's class */
49 struct _GdaSqliteHandlerBinClass
50 {
51 	GObjectClass              parent_class;
52 };
53 
54 
55 GType           _gda_sqlite_handler_bin_get_type      (void) G_GNUC_CONST;
56 GdaDataHandler *_gda_sqlite_handler_bin_new           (void);
57 
58 G_END_DECLS
59 
60 #endif
61