1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106
|
/* Generated data (by glib-mkenums) */
#include <config.h>
#include <glib-object.h>
#include "champlain-enum-types.h"
/* enumerations from "champlain-defines.h" */
static const GEnumValue _champlain_state_values[] = {
{ CHAMPLAIN_STATE_NONE, "CHAMPLAIN_STATE_NONE", "none" },
{ CHAMPLAIN_STATE_INIT, "CHAMPLAIN_STATE_INIT", "init" },
{ CHAMPLAIN_STATE_LOADING, "CHAMPLAIN_STATE_LOADING", "loading" },
{ CHAMPLAIN_STATE_VALIDATING_CACHE, "CHAMPLAIN_STATE_VALIDATING_CACHE", "validating-cache" },
{ CHAMPLAIN_STATE_DONE, "CHAMPLAIN_STATE_DONE", "done" },
{ 0, NULL, NULL }
};
GType
champlain_state_get_type (void)
{
static GType type = 0;
if (!type)
type = g_enum_register_static ("ChamplainState", _champlain_state_values);
return type;
}
static const GEnumValue _champlain_unit_values[] = {
{ CHAMPLAIN_UNIT_KM, "CHAMPLAIN_UNIT_KM", "km" },
{ CHAMPLAIN_UNIT_MILES, "CHAMPLAIN_UNIT_MILES", "miles" },
{ 0, NULL, NULL }
};
GType
champlain_unit_get_type (void)
{
static GType type = 0;
if (!type)
type = g_enum_register_static ("ChamplainUnit", _champlain_unit_values);
return type;
}
/* enumerations from "champlain-view.h" */
static const GEnumValue _champlain_scroll_mode_values[] = {
{ CHAMPLAIN_SCROLL_MODE_PUSH, "CHAMPLAIN_SCROLL_MODE_PUSH", "push" },
{ CHAMPLAIN_SCROLL_MODE_KINETIC, "CHAMPLAIN_SCROLL_MODE_KINETIC", "kinetic" },
{ 0, NULL, NULL }
};
GType
champlain_scroll_mode_get_type (void)
{
static GType type = 0;
if (!type)
type = g_enum_register_static ("ChamplainScrollMode", _champlain_scroll_mode_values);
return type;
}
/* enumerations from "champlain-selection-layer.h" */
static const GEnumValue _champlain_selection_mode_values[] = {
{ CHAMPLAIN_SELECTION_NONE, "CHAMPLAIN_SELECTION_NONE", "none" },
{ CHAMPLAIN_SELECTION_SINGLE, "CHAMPLAIN_SELECTION_SINGLE", "single" },
{ CHAMPLAIN_SELECTION_MULTIPLE, "CHAMPLAIN_SELECTION_MULTIPLE", "multiple" },
{ 0, NULL, NULL }
};
GType
champlain_selection_mode_get_type (void)
{
static GType type = 0;
if (!type)
type = g_enum_register_static ("ChamplainSelectionMode", _champlain_selection_mode_values);
return type;
}
/* enumerations from "champlain-map-source.h" */
static const GEnumValue _champlain_map_projection_values[] = {
{ CHAMPLAIN_MAP_PROJECTION_MERCATOR, "CHAMPLAIN_MAP_PROJECTION_MERCATOR", "mercator" },
{ 0, NULL, NULL }
};
GType
champlain_map_projection_get_type (void)
{
static GType type = 0;
if (!type)
type = g_enum_register_static ("ChamplainMapProjection", _champlain_map_projection_values);
return type;
}
/* Generated data ends here */
|