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