
/* 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. */

#include "smtk-enum-types.h"
#include "smtk-app.h"
#include "smtk-app-win.h"
#include "smtk-usage-win.h"
#include "smtk-keys-win.h"
#include "smtk-keys-area.h"
#include "smtk-keys-emitter.h"
#include "smtk-keys-mapper.h"
#include "smtk-keymap-list.h"
#include "smtk-event.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "smtk-event.h" */

GType
smtk_event_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SMTK_EVENT_TYPE_UNKNOWN), "SMTK_EVENT_TYPE_UNKNOWN", "unknown" },
        { C_ENUM (SMTK_EVENT_TYPE_KEYBOARD_KEY), "SMTK_EVENT_TYPE_KEYBOARD_KEY", "keyboard-key" },
        { C_ENUM (SMTK_EVENT_TYPE_POINTER_BUTTON), "SMTK_EVENT_TYPE_POINTER_BUTTON", "pointer-button" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SmtkEventType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
smtk_event_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SMTK_EVENT_STATE_UNKNOWN), "SMTK_EVENT_STATE_UNKNOWN", "unknown" },
        { C_ENUM (SMTK_EVENT_STATE_RELEASED), "SMTK_EVENT_STATE_RELEASED", "released" },
        { C_ENUM (SMTK_EVENT_STATE_PRESSED), "SMTK_EVENT_STATE_PRESSED", "pressed" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SmtkEventState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "smtk-keys-area.h" */

GType
smtk_key_alignment_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SMTK_KEY_ALIGNMENT_END), "SMTK_KEY_ALIGNMENT_END", "end" },
        { C_ENUM (SMTK_KEY_ALIGNMENT_CENTER), "SMTK_KEY_ALIGNMENT_CENTER", "center" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SmtkKeyAlignment"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "smtk-keys-emitter.h" */

GType
smtk_modifier_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SMTK_MODIFIER_NONE), "SMTK_MODIFIER_NONE", "none" },
        { C_ENUM (SMTK_MODIFIER_CTRL), "SMTK_MODIFIER_CTRL", "ctrl" },
        { C_ENUM (SMTK_MODIFIER_ALT), "SMTK_MODIFIER_ALT", "alt" },
        { C_ENUM (SMTK_MODIFIER_SUPER), "SMTK_MODIFIER_SUPER", "super" },
        { C_ENUM (SMTK_MODIFIER_SHIFT), "SMTK_MODIFIER_SHIFT", "shift" },
        { C_ENUM (SMTK_MODIFIER_ESC), "SMTK_MODIFIER_ESC", "esc" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SmtkModifier"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "smtk-keys-mapper.h" */

GType
smtk_key_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (SMTK_KEY_MODE_COMPOSED), "SMTK_KEY_MODE_COMPOSED", "composed" },
        { C_ENUM (SMTK_KEY_MODE_RAW), "SMTK_KEY_MODE_RAW", "raw" },
        { C_ENUM (SMTK_KEY_MODE_COMPACT), "SMTK_KEY_MODE_COMPACT", "compact" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("SmtkKeyMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

