
/* 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 "lcb-enum-types.h"
#include "lcb-enums.h"

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

/* enumerations from "lcb-enums.h" */

GType
lcb_channel_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (LCB_CHANNEL_MODE_NONE), "LCB_CHANNEL_MODE_NONE", "none" },
        { C_ENUM (LCB_CHANNEL_MODE_COUNTRY), "LCB_CHANNEL_MODE_COUNTRY", "country" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("LcbChannelMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
lcb_severity_level_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (LCB_SEVERITY_LEVEL_UNKNOWN), "LCB_SEVERITY_LEVEL_UNKNOWN", "unknown" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_PRESIDENTIAL), "LCB_SEVERITY_LEVEL_PRESIDENTIAL", "presidential" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_EXTREME), "LCB_SEVERITY_LEVEL_EXTREME", "extreme" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_SEVERE), "LCB_SEVERITY_LEVEL_SEVERE", "severe" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_PUBLIC_SAFETY), "LCB_SEVERITY_LEVEL_PUBLIC_SAFETY", "public-safety" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_AMBER), "LCB_SEVERITY_LEVEL_AMBER", "amber" },
        { C_FLAGS (LCB_SEVERITY_LEVEL_TEST), "LCB_SEVERITY_LEVEL_TEST", "test" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("LcbSeverityLevel"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

