1 /* Fo 2 * fo-property-wrap-option.h: 'wrap-option' property 3 * 4 * Copyright (C) 2001-2005 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_WRAP_OPTION_H__ 11 #define __FO_PROPERTY_WRAP_OPTION_H__ 12 13 #include <libfo/fo-utils.h> 14 #include <libfo/property/fo-property.h> 15 16 G_BEGIN_DECLS 17 18 /* wrap-option */ 19 /* Inherited: TRUE */ 20 /* Shorthand: FALSE */ 21 /* no-wrap | wrap | inherit */ 22 /* Initial value: wrap */ 23 24 #define FO_TYPE_PROPERTY_WRAP_OPTION (fo_property_wrap_option_get_type ()) 25 #define FO_PROPERTY_WRAP_OPTION(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOption)) 26 #define FO_PROPERTY_WRAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOptionClass)) 27 #define FO_IS_PROPERTY_WRAP_OPTION(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_WRAP_OPTION)) 28 #define FO_IS_PROPERTY_WRAP_OPTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_WRAP_OPTION)) 29 #define FO_PROPERTY_WRAP_OPTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_WRAP_OPTION, FoPropertyWrapOptionClass)) 30 31 32 /** 33 * FoPropertyWrapOption: 34 * 35 * Instance of the 'wrap-option' property. 36 **/ 37 typedef struct _FoPropertyWrapOption FoPropertyWrapOption; 38 39 /** 40 * FoPropertyWrapOptionClass: 41 * 42 * Class structure for the 'wrap-option' property. 43 **/ 44 typedef struct _FoPropertyWrapOptionClass FoPropertyWrapOptionClass; 45 46 GType fo_property_wrap_option_get_type (void) G_GNUC_CONST; 47 FoProperty * fo_property_wrap_option_new (void); 48 FoProperty * fo_property_wrap_option_get_initial (void); 49 50 G_END_DECLS 51 52 #endif /* !__FO_PROPERTY_WRAP_OPTION_H__ */ 53