1 2 3 4#include <gutenprintui2/gutenprintui.h> 5 6/* enumerations from "../../include/gutenprintui2/gutenprintui.h" */ 7GType 8orient_t_orient_t_get_type (void) 9{ 10 static GType etype = 0; 11 if (etype == 0) { 12 static const GEnumValue values[] = { 13 { ORIENT_AUTO, "ORIENT_AUTO", "auto" }, 14 { ORIENT_PORTRAIT, "ORIENT_PORTRAIT", "portrait" }, 15 { ORIENT_LANDSCAPE, "ORIENT_LANDSCAPE", "landscape" }, 16 { ORIENT_UPSIDEDOWN, "ORIENT_UPSIDEDOWN", "upsidedown" }, 17 { ORIENT_SEASCAPE, "ORIENT_SEASCAPE", "seascape" }, 18 { 0, NULL, NULL } 19 }; 20 etype = g_enum_register_static ("orient_t", values); 21 } 22 return etype; 23} 24GType 25command_t_command_t_get_type (void) 26{ 27 static GType etype = 0; 28 if (etype == 0) { 29 static const GEnumValue values[] = { 30 { COMMAND_TYPE_DEFAULT, "COMMAND_TYPE_DEFAULT", "default" }, 31 { COMMAND_TYPE_CUSTOM, "COMMAND_TYPE_CUSTOM", "custom" }, 32 { COMMAND_TYPE_FILE, "COMMAND_TYPE_FILE", "file" }, 33 { 0, NULL, NULL } 34 }; 35 etype = g_enum_register_static ("command_t", values); 36 } 37 return etype; 38} 39 40/* enumerations from "../../include/gutenprintui2/curve.h" */ 41GType 42stpui_curve_type_get_type (void) 43{ 44 static GType etype = 0; 45 if (etype == 0) { 46 static const GEnumValue values[] = { 47 { STPUI_CURVE_TYPE_LINEAR, "STPUI_CURVE_TYPE_LINEAR", "linear" }, 48 { STPUI_CURVE_TYPE_SPLINE, "STPUI_CURVE_TYPE_SPLINE", "spline" }, 49 { STPUI_CURVE_TYPE_FREE, "STPUI_CURVE_TYPE_FREE", "free" }, 50 { 0, NULL, NULL } 51 }; 52 etype = g_enum_register_static ("StpuiCurveType", values); 53 } 54 return etype; 55} 56 57 58 59