No issues found
1 /* Generated data (by glib-mkenums) */
2
3 #include <config.h>
4
5 #include "tracker-enum-types.h"
6
7 /* enumerations from "tracker-dbus.h" */
8 #include "tracker-dbus.h"
9 GType
10 tracker_dbus_events_type_get_type (void)
11 {
12 static volatile gsize g_define_type_id__volatile = 0;
13
14 if (g_once_init_enter (&g_define_type_id__volatile)) {
15 static const GEnumValue values[] = {
16 { TRACKER_DBUS_EVENTS_TYPE_ADD, "TRACKER_DBUS_EVENTS_TYPE_ADD", "add" },
17 { TRACKER_DBUS_EVENTS_TYPE_UPDATE, "TRACKER_DBUS_EVENTS_TYPE_UPDATE", "update" },
18 { TRACKER_DBUS_EVENTS_TYPE_DELETE, "TRACKER_DBUS_EVENTS_TYPE_DELETE", "delete" },
19 { 0, NULL, NULL }
20 };
21 GType g_define_type_id =
22 g_enum_register_static (g_intern_static_string ("TrackerDBusEventsType"), values);
23
24 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
25 }
26
27 return g_define_type_id__volatile;
28 }
29
30 GType
31 tracker_dbus_error_get_type (void)
32 {
33 static volatile gsize g_define_type_id__volatile = 0;
34
35 if (g_once_init_enter (&g_define_type_id__volatile)) {
36 static const GEnumValue values[] = {
37 { TRACKER_DBUS_ERROR_ASSERTION_FAILED, "TRACKER_DBUS_ERROR_ASSERTION_FAILED", "assertion-failed" },
38 { TRACKER_DBUS_ERROR_UNSUPPORTED, "TRACKER_DBUS_ERROR_UNSUPPORTED", "unsupported" },
39 { TRACKER_DBUS_ERROR_BROKEN_PIPE, "TRACKER_DBUS_ERROR_BROKEN_PIPE", "broken-pipe" },
40 { 0, NULL, NULL }
41 };
42 GType g_define_type_id =
43 g_enum_register_static (g_intern_static_string ("TrackerDBusError"), values);
44
45 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
46 }
47
48 return g_define_type_id__volatile;
49 }
50
51 /* enumerations from "tracker-enums.h" */
52 #include "tracker-enums.h"
53 GType
54 tracker_verbosity_get_type (void)
55 {
56 static volatile gsize g_define_type_id__volatile = 0;
57
58 if (g_once_init_enter (&g_define_type_id__volatile)) {
59 static const GEnumValue values[] = {
60 { TRACKER_VERBOSITY_ERRORS, "TRACKER_VERBOSITY_ERRORS", "errors" },
61 { TRACKER_VERBOSITY_MINIMAL, "TRACKER_VERBOSITY_MINIMAL", "minimal" },
62 { TRACKER_VERBOSITY_DETAILED, "TRACKER_VERBOSITY_DETAILED", "detailed" },
63 { TRACKER_VERBOSITY_DEBUG, "TRACKER_VERBOSITY_DEBUG", "debug" },
64 { 0, NULL, NULL }
65 };
66 GType g_define_type_id =
67 g_enum_register_static (g_intern_static_string ("TrackerVerbosity"), values);
68
69 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
70 }
71
72 return g_define_type_id__volatile;
73 }
74
75 GType
76 tracker_sched_idle_get_type (void)
77 {
78 static volatile gsize g_define_type_id__volatile = 0;
79
80 if (g_once_init_enter (&g_define_type_id__volatile)) {
81 static const GEnumValue values[] = {
82 { TRACKER_SCHED_IDLE_ALWAYS, "TRACKER_SCHED_IDLE_ALWAYS", "always" },
83 { TRACKER_SCHED_IDLE_FIRST_INDEX, "TRACKER_SCHED_IDLE_FIRST_INDEX", "first-index" },
84 { TRACKER_SCHED_IDLE_NEVER, "TRACKER_SCHED_IDLE_NEVER", "never" },
85 { 0, NULL, NULL }
86 };
87 GType g_define_type_id =
88 g_enum_register_static (g_intern_static_string ("TrackerSchedIdle"), values);
89
90 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
91 }
92
93 return g_define_type_id__volatile;
94 }
95
96 /* enumerations from "tracker-date-time.h" */
97 #include "tracker-date-time.h"
98 GType
99 tracker_date_error_get_type (void)
100 {
101 static volatile gsize g_define_type_id__volatile = 0;
102
103 if (g_once_init_enter (&g_define_type_id__volatile)) {
104 static const GEnumValue values[] = {
105 { TRACKER_DATE_ERROR_OFFSET, "TRACKER_DATE_ERROR_OFFSET", "offset" },
106 { TRACKER_DATE_ERROR_INVALID_ISO8601, "TRACKER_DATE_ERROR_INVALID_ISO8601", "invalid-iso8601" },
107 { 0, NULL, NULL }
108 };
109 GType g_define_type_id =
110 g_enum_register_static (g_intern_static_string ("TrackerDateError"), values);
111
112 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
113 }
114
115 return g_define_type_id__volatile;
116 }
117
118 /* enumerations from "tracker-locale.h" */
119 #include "tracker-locale.h"
120 GType
121 tracker_locale_id_get_type (void)
122 {
123 static volatile gsize g_define_type_id__volatile = 0;
124
125 if (g_once_init_enter (&g_define_type_id__volatile)) {
126 static const GEnumValue values[] = {
127 { TRACKER_LOCALE_LANGUAGE, "TRACKER_LOCALE_LANGUAGE", "language" },
128 { TRACKER_LOCALE_TIME, "TRACKER_LOCALE_TIME", "time" },
129 { TRACKER_LOCALE_COLLATE, "TRACKER_LOCALE_COLLATE", "collate" },
130 { TRACKER_LOCALE_NUMERIC, "TRACKER_LOCALE_NUMERIC", "numeric" },
131 { TRACKER_LOCALE_MONETARY, "TRACKER_LOCALE_MONETARY", "monetary" },
132 { TRACKER_LOCALE_LAST, "TRACKER_LOCALE_LAST", "last" },
133 { 0, NULL, NULL }
134 };
135 GType g_define_type_id =
136 g_enum_register_static (g_intern_static_string ("TrackerLocaleID"), values);
137
138 g_once_init_leave (&g_define_type_id__volatile, g_define_type_id);
139 }
140
141 return g_define_type_id__volatile;
142 }
143
144
145
146 /* Generated data ends here */