1 /* $Id: subsref_subscription.h,v 1.0 2005/10/14 15:17:55 fpeters Exp $ 2 * 3 * Lasso - A free implementation of the Liberty Alliance specifications. 4 * 5 * Copyright (C) 2004-2007 Entr'ouvert 6 * http://lasso.entrouvert.org 7 * 8 * Authors: See AUTHORS file in top-level directory. 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, see <http://www.gnu.org/licenses/>. 22 */ 23 24 #ifndef __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__ 25 #define __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__ 26 27 #ifdef __cplusplus 28 extern "C" { 29 #endif /* __cplusplus */ 30 31 #include "../xml.h" 32 #include "subs_subscription.h" 33 34 #define LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION \ 35 (lasso_idwsf2_subsref_subscription_get_type()) 36 #define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION(obj) \ 37 (G_TYPE_CHECK_INSTANCE_CAST((obj), \ 38 LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \ 39 LassoIdWsf2SubsRefSubscription)) 40 #define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS(klass) \ 41 (G_TYPE_CHECK_CLASS_CAST((klass), \ 42 LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \ 43 LassoIdWsf2SubsRefSubscriptionClass)) 44 #define LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION(obj) \ 45 (G_TYPE_CHECK_INSTANCE_TYPE((obj), \ 46 LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION)) 47 #define LASSO_IS_IDWSF2_SUBSREF_SUBSCRIPTION_CLASS(klass) \ 48 (G_TYPE_CHECK_CLASS_TYPE ((klass), \ 49 LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION)) 50 #define LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_GET_CLASS(o) \ 51 (G_TYPE_INSTANCE_GET_CLASS ((o), \ 52 LASSO_TYPE_IDWSF2_SUBSREF_SUBSCRIPTION, \ 53 LassoIdWsf2SubsRefSubscriptionClass)) 54 55 56 typedef struct _LassoIdWsf2SubsRefSubscription LassoIdWsf2SubsRefSubscription; 57 typedef struct _LassoIdWsf2SubsRefSubscriptionClass LassoIdWsf2SubsRefSubscriptionClass; 58 59 60 struct _LassoIdWsf2SubsRefSubscription { 61 LassoIdWsf2SubsSubscription parent; 62 63 /*< public >*/ 64 /* elements */ 65 GList *ResultQuery; /* of LassoNode */ 66 /* XXX */ void *Aggregation; 67 /* XXX */ void *Trigger; 68 }; 69 70 71 struct _LassoIdWsf2SubsRefSubscriptionClass { 72 LassoIdWsf2SubsSubscriptionClass parent; 73 }; 74 75 LASSO_EXPORT GType lasso_idwsf2_subsref_subscription_get_type(void); 76 LASSO_EXPORT LassoIdWsf2SubsRefSubscription* lasso_idwsf2_subsref_subscription_new(void); 77 78 79 80 #ifdef __cplusplus 81 } 82 #endif /* __cplusplus */ 83 84 #endif /* __LASSO_IDWSF2_SUBSREF_SUBSCRIPTION_H__ */ 85