Debian Codegraph @

src/libgroupservice/gas-group-enum-types.c.template

raw
1 /*** BEGIN file-header ***/
2 #include "gas-group-enum-types.h"
3 #include <glib-object.h>
4
5 /*** END file-header ***/
6
7 /*** BEGIN file-production ***/
8 /* enumerations from "@basename@" */
9 #include "@basename@"
10
11 /*** END file-production ***/
12
13 /*** BEGIN value-header ***/
14 GType
15 @enum_name@_get_type (void)
16 {
17 static GType etype = 0;
18 if (etype == 0) {
19 static const G@Type@Value values[] = {
20 /*** END value-header ***/
21
22 /*** BEGIN value-production ***/
23 { @VALUENAME@, "@VALUENAME@", "@valuenick@" },
24 /*** END value-production ***/
25
26 /*** BEGIN value-tail ***/
27 { 0, NULL, NULL }
28 };
29 etype = g_@type@_register_static ("@EnumName@", values);
30 }
31 return etype;
32 }
33
34 /*** END value-tail ***/
35
36 /*** BEGIN file-tail ***/
37 /*** END file-tail ***/