create an HklPseudoAxisEngineModeInfo for the Automatic modes.
[hkl.git] / hkl / hkl-type-builtins.c
blob0bfe5779ca4b58370e50b08d776aa87010335430
2 /* Generated data (by glib-mkenums) */
4 #undef HKL_DISABLE_DEPRECATED
5 #define HKL_ENABLE_BROKEN
6 #include <glib-object.h>
7 #include "hkl.h"
8 #include "hkl-type-builtins.h"
9 /* enumerations from "hkl-detector-factory.h" */
10 GType
11 hkl_detector_type_get_type (void)
13 static GType etype = 0;
14 if (G_UNLIKELY(etype == 0)) {
15 static const GEnumValue values[] = {
16 { HKL_DETECTOR_TYPE_0D, "HKL_DETECTOR_TYPE_0D", "0d" },
17 { 0, NULL, NULL }
19 etype = g_enum_register_static (g_intern_static_string ("HklDetectorType"), values);
21 return etype;
24 /* enumerations from "hkl-geometry.h" */
25 GType
26 hkl_geometry_type_get_type (void)
28 static GType etype = 0;
29 if (G_UNLIKELY(etype == 0)) {
30 static const GEnumValue values[] = {
31 { HKL_GEOMETRY_TYPE_TWOC_VERTICAL, "HKL_GEOMETRY_TYPE_TWOC_VERTICAL", "twoc-vertical" },
32 { HKL_GEOMETRY_TYPE_EULERIAN4C_VERTICAL, "HKL_GEOMETRY_TYPE_EULERIAN4C_VERTICAL", "eulerian4c-vertical" },
33 { HKL_GEOMETRY_TYPE_KAPPA4C_VERTICAL, "HKL_GEOMETRY_TYPE_KAPPA4C_VERTICAL", "kappa4c-vertical" },
34 { HKL_GEOMETRY_TYPE_EULERIAN6C, "HKL_GEOMETRY_TYPE_EULERIAN6C", "eulerian6c" },
35 { HKL_GEOMETRY_TYPE_KAPPA6C, "HKL_GEOMETRY_TYPE_KAPPA6C", "kappa6c" },
36 { HKL_GEOMETRY_TYPE_ZAXIS, "HKL_GEOMETRY_TYPE_ZAXIS", "zaxis" },
37 { HKL_GEOMETRY_TYPE_SOLEIL_SIXS_MED_2_2, "HKL_GEOMETRY_TYPE_SOLEIL_SIXS_MED_2_2", "soleil-sixs-med-2-2" },
38 { HKL_GEOMETRY_TYPE_SOLEIL_MARS, "HKL_GEOMETRY_TYPE_SOLEIL_MARS", "soleil-mars" },
39 { HKL_GEOMETRY_TYPE_SOLEIL_SIXS_MED_1_2, "HKL_GEOMETRY_TYPE_SOLEIL_SIXS_MED_1_2", "soleil-sixs-med-1-2" },
40 { HKL_GEOMETRY_TYPE_PETRA3_P09_EH2, "HKL_GEOMETRY_TYPE_PETRA3_P09_EH2", "petra3-p09-eh2" },
41 { HKL_GEOMETRY_TYPE_EULERIAN4C_HORIZONTAL, "HKL_GEOMETRY_TYPE_EULERIAN4C_HORIZONTAL", "eulerian4c-horizontal" },
42 { 0, NULL, NULL }
44 etype = g_enum_register_static (g_intern_static_string ("HklGeometryType"), values);
46 return etype;
49 /* enumerations from "hkl-sample.h" */
50 GType
51 hkl_sample_type_get_type (void)
53 static GType etype = 0;
54 if (G_UNLIKELY(etype == 0)) {
55 static const GEnumValue values[] = {
56 { HKL_SAMPLE_TYPE_MONOCRYSTAL, "HKL_SAMPLE_TYPE_MONOCRYSTAL", "monocrystal" },
57 { 0, NULL, NULL }
59 etype = g_enum_register_static (g_intern_static_string ("HklSampleType"), values);
61 return etype;
64 /* enumerations from "hkl-unit.h" */
65 GType
66 hkl_unit_type_get_type (void)
68 static GType etype = 0;
69 if (G_UNLIKELY(etype == 0)) {
70 static const GEnumValue values[] = {
71 { HKL_UNIT_ANGLE_DEG, "HKL_UNIT_ANGLE_DEG", "angle-deg" },
72 { HKL_UNIT_ANGLE_RAD, "HKL_UNIT_ANGLE_RAD", "angle-rad" },
73 { HKL_UNIT_LENGTH_NM, "HKL_UNIT_LENGTH_NM", "length-nm" },
74 { 0, NULL, NULL }
76 etype = g_enum_register_static (g_intern_static_string ("HklUnitType"), values);
78 return etype;
81 #define __HKL_TYPE_BUILTINS_C__
83 /* Generated data ends here */