Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libccc/0.0.4/ccc/cc-enumerations.c
blob: 1032e9af65017fd6f7c29cde2af03557cbc06769 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50

/* Generated data (by glib-mkenums) */

#include <ccc/cc-enumerations.h>

#ifdef HAVE_CONFIG_H
# include <cc-config.h>
#endif

#include <glib/gi18n.h>
/* enumerations from "cc-item.h" */
#include "cc-item.h"
GType
cc_item_flags_get_type(void) {
	static GType etype = 0;
	if(!etype) {
		static const GFlagsValue values[] = {
			{CC_CAN_FOCUS, "CC_CAN_FOCUS", N_("can-focus")},
			{CC_DISPOSED, "CC_DISPOSED", N_("disposed")},
			{CC_GRID_ALIGNED, "CC_GRID_ALIGNED", N_("grid-aligned")},
			{0, NULL, NULL}
		};

		etype = g_flags_register_static("CcItemFlags", values);
	}

	return etype;
}
/* enumerations from "cc-utils.h" */
#include "cc-utils.h"
GType
cc_zoom_mode_get_type(void) {
	static GType etype = 0;
	if(!etype) {
		static const GEnumValue values[] = {
			{CC_ZOOM_PIXELS, "CC_ZOOM_PIXELS", N_("pixels")},
			{CC_ZOOM_WIDTH, "CC_ZOOM_WIDTH", N_("width")},
			{CC_ZOOM_HEIGHT, "CC_ZOOM_HEIGHT", N_("height")},
			{CC_ZOOM_AUTO, "CC_ZOOM_AUTO", N_("auto")},
			{0, NULL, NULL}
		};

		etype = g_enum_register_static("CcZoomMode", values);
	}

	return etype;
}

/* Generated data ends here */