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

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

/* enumerations from "exm-types.h" */

GType
exm_extension_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (EXM_EXTENSION_TYPE_SYSTEM), "EXM_EXTENSION_TYPE_SYSTEM", "system" },
        { C_ENUM (EXM_EXTENSION_TYPE_PER_USER), "EXM_EXTENSION_TYPE_PER_USER", "per-user" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ExmExtensionType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
exm_extension_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (EXM_EXTENSION_STATE_ACTIVE), "EXM_EXTENSION_STATE_ACTIVE", "active" },
        { C_ENUM (EXM_EXTENSION_STATE_INACTIVE), "EXM_EXTENSION_STATE_INACTIVE", "inactive" },
        { C_ENUM (EXM_EXTENSION_STATE_ERROR), "EXM_EXTENSION_STATE_ERROR", "error" },
        { C_ENUM (EXM_EXTENSION_STATE_OUT_OF_DATE), "EXM_EXTENSION_STATE_OUT_OF_DATE", "out-of-date" },
        { C_ENUM (EXM_EXTENSION_STATE_DOWNLOADING), "EXM_EXTENSION_STATE_DOWNLOADING", "downloading" },
        { C_ENUM (EXM_EXTENSION_STATE_INITIALIZED), "EXM_EXTENSION_STATE_INITIALIZED", "initialized" },
        { C_ENUM (EXM_EXTENSION_STATE_DEACTIVATING), "EXM_EXTENSION_STATE_DEACTIVATING", "deactivating" },
        { C_ENUM (EXM_EXTENSION_STATE_ACTIVATING), "EXM_EXTENSION_STATE_ACTIVATING", "activating" },
        { C_ENUM (EXM_EXTENSION_STATE_UNINSTALLED), "EXM_EXTENSION_STATE_UNINSTALLED", "uninstalled" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ExmExtensionState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
exm_install_button_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (EXM_INSTALL_BUTTON_STATE_DEFAULT), "EXM_INSTALL_BUTTON_STATE_DEFAULT", "default" },
        { C_ENUM (EXM_INSTALL_BUTTON_STATE_INSTALLING), "EXM_INSTALL_BUTTON_STATE_INSTALLING", "installing" },
        { C_ENUM (EXM_INSTALL_BUTTON_STATE_INSTALLED), "EXM_INSTALL_BUTTON_STATE_INSTALLED", "installed" },
        { C_ENUM (EXM_INSTALL_BUTTON_STATE_UNSUPPORTED), "EXM_INSTALL_BUTTON_STATE_UNSUPPORTED", "unsupported" },
        { C_ENUM (EXM_INSTALL_BUTTON_STATE_LOADING), "EXM_INSTALL_BUTTON_STATE_LOADING", "loading" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ExmInstallButtonState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

