1 /* Fo
2  * fo-property-precedence.h: 'precedence' property
3  *
4  * Copyright (C) 2001-2006 Sun Microsystems
5  * Copyright (C) 2007-2010 Menteith Consulting Ltd
6  * Copyright (C) 2011 Mentea
7  *
8  * See COPYING for the status of this software.
9  */
10 
11 #ifndef __FO_PROPERTY_PRECEDENCE_H__
12 #define __FO_PROPERTY_PRECEDENCE_H__
13 
14 #include <libfo/fo-utils.h>
15 #include <libfo/property/fo-property.h>
16 
17 G_BEGIN_DECLS
18 
19 /* precedence */
20 /* Inherited: FALSE */
21 /* Shorthand: FALSE */
22 /* true | false | inherit */
23 /* Initial value: false */
24 
25 #define FO_TYPE_PROPERTY_PRECEDENCE              (fo_property_precedence_get_type ())
26 #define FO_PROPERTY_PRECEDENCE(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_PRECEDENCE, FoPropertyPrecedence))
27 #define FO_PROPERTY_PRECEDENCE_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_PRECEDENCE, FoPropertyPrecedenceClass))
28 #define FO_IS_PROPERTY_PRECEDENCE(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_PRECEDENCE))
29 #define FO_IS_PROPERTY_PRECEDENCE_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_PRECEDENCE))
30 #define FO_PROPERTY_PRECEDENCE_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_PRECEDENCE, FoPropertyPrecedenceClass))
31 
32 
33 /**
34  * FoPropertyPrecedence:
35  *
36  * Instance of the 'precedence' property.
37  **/
38 typedef struct _FoPropertyPrecedence      FoPropertyPrecedence;
39 
40 /**
41  * FoPropertyPrecedenceClass:
42  *
43  * Class structure for the 'precedence' property.
44  **/
45 typedef struct _FoPropertyPrecedenceClass FoPropertyPrecedenceClass;
46 
47 GType        fo_property_precedence_get_type    (void) G_GNUC_CONST;
48 FoProperty * fo_property_precedence_new         (void);
49 FoProperty * fo_property_precedence_get_initial (void);
50 
51 G_END_DECLS
52 
53 #endif /* !__FO_PROPERTY_PRECEDENCE_H__ */
54