1 /* Fo
2  * fo-property-force-page-count.h: 'force-page-count' 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_FORCE_PAGE_COUNT_H__
12 #define __FO_PROPERTY_FORCE_PAGE_COUNT_H__
13 
14 #include <libfo/fo-utils.h>
15 #include <libfo/property/fo-property.h>
16 
17 G_BEGIN_DECLS
18 
19 /* force-page-count */
20 /* Inherited: FALSE */
21 /* Shorthand: FALSE */
22 /* auto | even | odd | end-on-even | end-on-odd | no-force | inherit */
23 /* Initial value: auto */
24 
25 #define FO_TYPE_PROPERTY_FORCE_PAGE_COUNT              (fo_property_force_page_count_get_type ())
26 #define FO_PROPERTY_FORCE_PAGE_COUNT(object)           (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_PROPERTY_FORCE_PAGE_COUNT, FoPropertyForcePageCount))
27 #define FO_PROPERTY_FORCE_PAGE_COUNT_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST ((klass), FO_TYPE_PROPERTY_FORCE_PAGE_COUNT, FoPropertyForcePageCountClass))
28 #define FO_IS_PROPERTY_FORCE_PAGE_COUNT(object)        (G_TYPE_CHECK_INSTANCE_TYPE ((object), FO_TYPE_PROPERTY_FORCE_PAGE_COUNT))
29 #define FO_IS_PROPERTY_FORCE_PAGE_COUNT_CLASS(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), FO_TYPE_PROPERTY_FORCE_PAGE_COUNT))
30 #define FO_PROPERTY_FORCE_PAGE_COUNT_GET_CLASS(obj)    (G_TYPE_INSTANCE_GET_CLASS ((obj), FO_TYPE_PROPERTY_FORCE_PAGE_COUNT, FoPropertyForcePageCountClass))
31 
32 
33 /**
34  * FoPropertyForcePageCount:
35  *
36  * Instance of the 'force-page-count' property.
37  **/
38 typedef struct _FoPropertyForcePageCount      FoPropertyForcePageCount;
39 
40 /**
41  * FoPropertyForcePageCountClass:
42  *
43  * Class structure for the 'force-page-count' property.
44  **/
45 typedef struct _FoPropertyForcePageCountClass FoPropertyForcePageCountClass;
46 
47 GType        fo_property_force_page_count_get_type    (void) G_GNUC_CONST;
48 FoProperty * fo_property_force_page_count_new         (void);
49 FoProperty * fo_property_force_page_count_get_initial (void);
50 
51 G_END_DECLS
52 
53 #endif /* !__FO_PROPERTY_FORCE_PAGE_COUNT_H__ */
54