1 /* Fo 2 * fo-property-span.h: 'span' property 3 * 4 * Copyright (C) 2001-2006 Sun Microsystems 5 * Copyright (C) 2007-2008 Menteith Consulting Ltd 6 * 7 * See COPYING for the status of this software. 8 */ 9 10 #ifndef __FO_PROPERTY_SPAN_H__ 11 #define __FO_PROPERTY_SPAN_H__ 12 13 #include <libfo/fo-utils.h> 14 #include <libfo/property/fo-property.h> 15 16 G_BEGIN_DECLS 17 18 /* span */ 19 /* Inherited: FALSE */ 20 /* Shorthand: FALSE */ 21 /* none | all | inherit */ 22 /* Initial value: none */ 23 24 #define FO_TYPE_PROPERTY_SPAN (fo_property_span_get_type ()) 25 #define FO_PROPERTY_SPAN(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_SPAN, FoPropertySpan)) 26 #define FO_PROPERTY_SPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_SPAN, FoPropertySpanClass)) 27 #define FO_IS_PROPERTY_SPAN(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_SPAN)) 28 #define FO_IS_PROPERTY_SPAN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_SPAN)) 29 #define FO_PROPERTY_SPAN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_SPAN, FoPropertySpanClass)) 30 31 32 /** 33 * FoPropertySpan: 34 * 35 * Instance of the 'span' property. 36 **/ 37 typedef struct _FoPropertySpan FoPropertySpan; 38 39 /** 40 * FoPropertySpanClass: 41 * 42 * Class structure for the 'span' property. 43 **/ 44 typedef struct _FoPropertySpanClass FoPropertySpanClass; 45 46 GType fo_property_span_get_type (void) G_GNUC_CONST; 47 FoProperty * fo_property_span_new (void); 48 FoProperty * fo_property_span_get_initial (void); 49 50 G_END_DECLS 51 52 #endif /* !__FO_PROPERTY_SPAN_H__ */ 53