/* GdaXql: the xml query object * Copyright (C) 2000-2002 The GNOME Foundation. * * AUTHORS: * Gerhard Dieringer * Cleber Rodrigues * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Library General Public License for more details. * * You should have received a copy of the GNU Library General Public * License along with this library; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 02111-1307, USA. */ #if !defined(__gda_xql_query_h__) # define __gda_xql_query_h__ #include #include #include "gda-xql-bin.h" #define GDA_TYPE_XQL_QUERY (gda_xql_query_get_type()) #define GDA_XQL_QUERY(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), gda_xql_query_get_type(), GdaXqlQuery) #define GDA_XQL_QUERY_CONST(obj) G_TYPE_CHECK_INSTANCE_CAST((obj), gda_xql_query_get_type(), GdaXqlQuery const) #define GDA_XQL_QUERY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST((klass), gda_xql_query_get_type(), GdaXqlQueryClass) #define GDA_IS_XQL_QUERY(obj) G_TYPE_CHECK_INSTANCE_TYPE((obj), gda_xql_query_get_type ()) #define GDA_XQL_QUERY_GET_CLASS(obj) G_TYPE_INSTANCE_GET_CLASS((obj), gda_xql_query_get_type(), GdaXqlQueryClass) typedef struct _GdaXqlQuery GdaXqlQuery; typedef struct _GdaXqlQueryClass GdaXqlQueryClass; struct _GdaXqlQuery { GdaXqlBin xqlquery; }; struct _GdaXqlQueryClass { GdaXqlBinClass parent_class; }; GType gda_xql_query_get_type (void); GdaXqlItem *gda_xql_query_new (void); GdaXqlItem *gda_xql_query_new_with_data (GdaXqlItem *xqlitem); G_END_DECLS #endif