1 /* Fo 2 * fo-property-id.h: 'id' 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_ID_H__ 11 #define __FO_PROPERTY_ID_H__ 12 13 #include <libfo/fo-utils.h> 14 #include <libfo/property/fo-property.h> 15 16 G_BEGIN_DECLS 17 18 /* id */ 19 /* Inherited: FALSE */ 20 /* Shorthand: FALSE */ 21 /* <id> */ 22 /* Initial value: see prose */ 23 24 #define FO_TYPE_PROPERTY_ID (fo_property_id_get_type ()) 25 #define FO_PROPERTY_ID(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_ID, FoPropertyId)) 26 #define FO_PROPERTY_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_ID, FoPropertyIdClass)) 27 #define FO_IS_PROPERTY_ID(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_ID)) 28 #define FO_IS_PROPERTY_ID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_ID)) 29 #define FO_PROPERTY_ID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_ID, FoPropertyIdClass)) 30 31 32 /** 33 * FoPropertyId: 34 * 35 * Instance of the 'id' property. 36 **/ 37 typedef struct _FoPropertyId FoPropertyId; 38 39 /** 40 * FoPropertyIdClass: 41 * 42 * Class structure for the 'id' property. 43 **/ 44 typedef struct _FoPropertyIdClass FoPropertyIdClass; 45 46 GType fo_property_id_get_type (void) G_GNUC_CONST; 47 FoProperty * fo_property_id_new (void); 48 FoProperty * fo_property_id_get_initial (void); 49 50 G_END_DECLS 51 52 #endif /* !__FO_PROPERTY_ID_H__ */ 53