1 /* 2 * Copyright (C) 2001 - 2002 Carlos Perelló Marín <carlos@gnome-db.org> 3 * Copyright (C) 2002 Gonzalo Paniagua Javier <gonzalo@src.gnome.org> 4 * Copyright (C) 2002 Rodrigo Moya <rodrigo@gnome-db.org> 5 * Copyright (C) 2007 - 2011 Vivien Malerba <malerba@gnome-db.org> 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public 9 * License as published by the Free Software Foundation; either 10 * version 2 of the License, or (at your option) any later version. 11 * 12 * This library is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 * Lesser General Public License for more details. 16 * 17 * You should have received a copy of the GNU Lesser General Public 18 * License along with this library; if not, write to the 19 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef __GDA_SQLITE_PROVIDER_H__ 24 #define __GDA_SQLITE_PROVIDER_H__ 25 26 #include <libgda/gda-server-provider.h> 27 28 #define GDA_TYPE_SQLITE_PROVIDER (gda_sqlite_provider_get_type()) 29 #define GDA_SQLITE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_SQLITE_PROVIDER, GdaSqliteProvider)) 30 #define GDA_SQLITE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_SQLITE_PROVIDER, GdaSqliteProviderClass)) 31 #define GDA_IS_SQLITE_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYPE_SQLITE_PROVIDER)) 32 #define GDA_IS_SQLITE_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_SQLITE_PROVIDER)) 33 34 typedef struct _GdaSqliteProvider GdaSqliteProvider; 35 typedef struct _GdaSqliteProviderClass GdaSqliteProviderClass; 36 37 struct _GdaSqliteProvider { 38 GdaServerProvider provider; 39 }; 40 41 struct _GdaSqliteProviderClass { 42 GdaServerProviderClass parent_class; 43 44 /* Padding for future expansion */ 45 void (*_gda_reserved1) (void); 46 void (*_gda_reserved2) (void); 47 }; 48 49 G_BEGIN_DECLS 50 51 GType gda_sqlite_provider_get_type (void) G_GNUC_CONST; 52 53 G_END_DECLS 54 55 #endif 56