1 /* 2 * Copyright (C) 2002 Rodrigo Moya <rodrigo@gnome-db.org> 3 * Copyright (C) 2004 Jeronimo Albi <jeronimoalbi@yahoo.com.ar> 4 * Copyright (C) 2007 - 2011 Vivien Malerba <malerba@gnome-db.org> 5 * 6 * This library is free software; you can redistribute it and/or 7 * modify it under the terms of the GNU Lesser General Public 8 * License as published by the Free Software Foundation; either 9 * version 2 of the License, or (at your option) any later version. 10 * 11 * This library is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 * Lesser General Public License for more details. 15 * 16 * You should have received a copy of the GNU Lesser General Public 17 * License along with this library; if not, write to the 18 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 19 * Boston, MA 02110-1301, USA. 20 */ 21 22 #ifndef __GDA_FIREBIRD_PROVIDER_H__ 23 #define __GDA_FIREBIRD_PROVIDER_H__ 24 25 #include <libgda/gda-server-provider.h> 26 27 #define GDA_TYPE_FIREBIRD_PROVIDER (gda_firebird_provider_get_type()) 28 #define GDA_FIREBIRD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYPE_FIREBIRD_PROVIDER, GdaFirebirdProvider)) 29 #define GDA_FIREBIRD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_FIREBIRD_PROVIDER, GdaFirebirdProviderClass)) 30 #define GDA_IS_FIREBIRD_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYPE_FIREBIRD_PROVIDER)) 31 #define GDA_IS_FIREBIRD_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_FIREBIRD_PROVIDER)) 32 33 typedef struct _GdaFirebirdProvider GdaFirebirdProvider; 34 typedef struct _GdaFirebirdProviderClass GdaFirebirdProviderClass; 35 36 struct _GdaFirebirdProvider { 37 GdaServerProvider provider; 38 }; 39 40 struct _GdaFirebirdProviderClass { 41 GdaServerProviderClass parent_class; 42 }; 43 44 G_BEGIN_DECLS 45 46 GType gda_firebird_provider_get_type (void) G_GNUC_CONST; 47 48 G_END_DECLS 49 50 #endif 51