Debian Codegraph @

src/gutenprintui2/typebuiltins.c

raw symbols SCIP
1
2 /* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
3
4 #include <gutenprintui2/gutenprintui.h>
5
6 /* enumerations from "../../include/gutenprintui2/curve.h" */
7 GType
8 stpui_curve_type_get_type (void)
9 {
10 static GType etype = 0;
11 if (etype == 0) {
12 static const GEnumValue values[] = {
13 { STPUI_CURVE_TYPE_LINEAR, "STPUI_CURVE_TYPE_LINEAR", "linear" },
14 { STPUI_CURVE_TYPE_SPLINE, "STPUI_CURVE_TYPE_SPLINE", "spline" },
15 { STPUI_CURVE_TYPE_FREE, "STPUI_CURVE_TYPE_FREE", "free" },
16 { 0, NULL, NULL }
17 };
18 etype = g_enum_register_static ("StpuiCurveType", values);
19 }
20 return etype;
21 }
22
23 /* enumerations from "../../include/gutenprintui2/gutenprintui.h" */
24 GType
25 orient_t_orient_t_get_type (void)
26 {
27 static GType etype = 0;
28 if (etype == 0) {
29 static const GEnumValue values[] = {
30 { ORIENT_AUTO, "ORIENT_AUTO", "auto" },
31 { ORIENT_PORTRAIT, "ORIENT_PORTRAIT", "portrait" },
32 { ORIENT_LANDSCAPE, "ORIENT_LANDSCAPE", "landscape" },
33 { ORIENT_UPSIDEDOWN, "ORIENT_UPSIDEDOWN", "upsidedown" },
34 { ORIENT_SEASCAPE, "ORIENT_SEASCAPE", "seascape" },
35 { 0, NULL, NULL }
36 };
37 etype = g_enum_register_static ("orient_t", values);
38 }
39 return etype;
40 }
41 GType
42 command_t_command_t_get_type (void)
43 {
44 static GType etype = 0;
45 if (etype == 0) {
46 static const GEnumValue values[] = {
47 { COMMAND_TYPE_DEFAULT, "COMMAND_TYPE_DEFAULT", "default" },
48 { COMMAND_TYPE_CUSTOM, "COMMAND_TYPE_CUSTOM", "custom" },
49 { COMMAND_TYPE_FILE, "COMMAND_TYPE_FILE", "file" },
50 { 0, NULL, NULL }
51 };
52 etype = g_enum_register_static ("command_t", values);
53 }
54 return etype;
55 }
56
57 /* Generated data ends here */
58