
/* 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 "enums.h"
/* enumerations from "capability.h" */
#include <libinsane-gobject/capability.h>
GType
libinsane_capability_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GFlagsValue values[] = {
            { LIBINSANE_CAPABILITY_NONE, "LIBINSANE_CAPABILITY_NONE", "none" },
            { LIBINSANE_CAPABILITY_EMULATED, "LIBINSANE_CAPABILITY_EMULATED", "emulated" },
            { LIBINSANE_CAPABILITY_AUTOMATIC, "LIBINSANE_CAPABILITY_AUTOMATIC", "automatic" },
            { LIBINSANE_CAPABILITY_HW_SELECT, "LIBINSANE_CAPABILITY_HW_SELECT", "hw-select" },
            { LIBINSANE_CAPABILITY_SW_SELECT, "LIBINSANE_CAPABILITY_SW_SELECT", "sw-select" },
            { LIBINSANE_CAPABILITY_INACTIVE, "LIBINSANE_CAPABILITY_INACTIVE", "inactive" },
            { 0, NULL, NULL }
        };

        GType type = g_flags_register_static (g_intern_static_string ("LibinsaneCapability"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "constraint.h" */
#include <libinsane-gobject/constraint.h>
GType
libinsane_constraint_type_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_CONSTRAINT_TYPE_NONE, "LIBINSANE_CONSTRAINT_TYPE_NONE", "none" },
            { LIBINSANE_CONSTRAINT_TYPE_RANGE, "LIBINSANE_CONSTRAINT_TYPE_RANGE", "range" },
            { LIBINSANE_CONSTRAINT_TYPE_LIST, "LIBINSANE_CONSTRAINT_TYPE_LIST", "list" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneConstraintType"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "error.h" */
#include <libinsane-gobject/error.h>
GType
libinsane_error_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_ERROR_OK, "LIBINSANE_ERROR_OK", "ok" },
            { LIBINSANE_ERROR_CANCELLED, "LIBINSANE_ERROR_CANCELLED", "cancelled" },
            { LIBINSANE_ERROR_DEVICE_BUSY, "LIBINSANE_ERROR_DEVICE_BUSY", "device-busy" },
            { LIBINSANE_ERROR_UNSUPPORTED, "LIBINSANE_ERROR_UNSUPPORTED", "unsupported" },
            { LIBINSANE_ERROR_INVALID_VALUE, "LIBINSANE_ERROR_INVALID_VALUE", "invalid-value" },
            { LIBINSANE_ERROR_JAMMED, "LIBINSANE_ERROR_JAMMED", "jammed" },
            { LIBINSANE_ERROR_COVER_OPEN, "LIBINSANE_ERROR_COVER_OPEN", "cover-open" },
            { LIBINSANE_ERROR_IO_ERROR, "LIBINSANE_ERROR_IO_ERROR", "io-error" },
            { LIBINSANE_ERROR_NO_MEM, "LIBINSANE_ERROR_NO_MEM", "no-mem" },
            { LIBINSANE_ERROR_ACCESS_DENIED, "LIBINSANE_ERROR_ACCESS_DENIED", "access-denied" },
            { LIBINSANE_ERROR_HW_IS_LOCKED, "LIBINSANE_ERROR_HW_IS_LOCKED", "hw-is-locked" },
            { LIBINSANE_ERROR_INTERNAL_IMG_FORMAT_NOT_SUPPORTED, "LIBINSANE_ERROR_INTERNAL_IMG_FORMAT_NOT_SUPPORTED", "internal-img-format-not-supported" },
            { LIBINSANE_ERROR_INTERNAL_NOT_IMPLEMENTED, "LIBINSANE_ERROR_INTERNAL_NOT_IMPLEMENTED", "internal-not-implemented" },
            { LIBINSANE_ERROR_INTERNAL_UNKNOWN_ERROR, "LIBINSANE_ERROR_INTERNAL_UNKNOWN_ERROR", "internal-unknown-error" },
            { LIBINSANE_ERROR_OFFLINE, "LIBINSANE_ERROR_OFFLINE", "offline" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneError"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "img_format.h" */
#include <libinsane-gobject/img_format.h>
GType
libinsane_img_format_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_IMG_FORMAT_RAW_RGB_24, "LIBINSANE_IMG_FORMAT_RAW_RGB_24", "raw-rgb-24" },
            { LIBINSANE_IMG_FORMAT_GRAYSCALE_8, "LIBINSANE_IMG_FORMAT_GRAYSCALE_8", "grayscale-8" },
            { LIBINSANE_IMG_FORMAT_BW_1, "LIBINSANE_IMG_FORMAT_BW_1", "bw-1" },
            { LIBINSANE_IMG_FORMAT_BMP, "LIBINSANE_IMG_FORMAT_BMP", "bmp" },
            { LIBINSANE_IMG_FORMAT_GIF, "LIBINSANE_IMG_FORMAT_GIF", "gif" },
            { LIBINSANE_IMG_FORMAT_JPEG, "LIBINSANE_IMG_FORMAT_JPEG", "jpeg" },
            { LIBINSANE_IMG_FORMAT_PNG, "LIBINSANE_IMG_FORMAT_PNG", "png" },
            { LIBINSANE_IMG_FORMAT_CIFF, "LIBINSANE_IMG_FORMAT_CIFF", "ciff" },
            { LIBINSANE_IMG_FORMAT_EXIF, "LIBINSANE_IMG_FORMAT_EXIF", "exif" },
            { LIBINSANE_IMG_FORMAT_FLASHPIX, "LIBINSANE_IMG_FORMAT_FLASHPIX", "flashpix" },
            { LIBINSANE_IMG_FORMAT_ICO, "LIBINSANE_IMG_FORMAT_ICO", "ico" },
            { LIBINSANE_IMG_FORMAT_JPEG2K, "LIBINSANE_IMG_FORMAT_JPEG2K", "jpeg2k" },
            { LIBINSANE_IMG_FORMAT_JPEG2KX, "LIBINSANE_IMG_FORMAT_JPEG2KX", "jpeg2kx" },
            { LIBINSANE_IMG_FORMAT_MEMORYBMP, "LIBINSANE_IMG_FORMAT_MEMORYBMP", "memorybmp" },
            { LIBINSANE_IMG_FORMAT_PHOTOCD, "LIBINSANE_IMG_FORMAT_PHOTOCD", "photocd" },
            { LIBINSANE_IMG_FORMAT_PICT, "LIBINSANE_IMG_FORMAT_PICT", "pict" },
            { LIBINSANE_IMG_FORMAT_TIFF, "LIBINSANE_IMG_FORMAT_TIFF", "tiff" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneImgFormat"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "item_type.h" */
#include <libinsane-gobject/item_type.h>
GType
libinsane_item_type_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_ITEM_TYPE_DEVICE, "LIBINSANE_ITEM_TYPE_DEVICE", "device" },
            { LIBINSANE_ITEM_TYPE_FLATBED, "LIBINSANE_ITEM_TYPE_FLATBED", "flatbed" },
            { LIBINSANE_ITEM_TYPE_ADF, "LIBINSANE_ITEM_TYPE_ADF", "adf" },
            { LIBINSANE_ITEM_TYPE_UNIDENTIFIED, "LIBINSANE_ITEM_TYPE_UNIDENTIFIED", "unidentified" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneItemType"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "libinsane-api.h" */
#include <libinsane-gobject/libinsane-api.h>
GType
libinsane_device_locations_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_DEVICE_LOCATIONS_ANY, "LIBINSANE_DEVICE_LOCATIONS_ANY", "any" },
            { LIBINSANE_DEVICE_LOCATIONS_LOCAL_ONLY, "LIBINSANE_DEVICE_LOCATIONS_LOCAL_ONLY", "local-only" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneDeviceLocations"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "log.h" */
#include <libinsane-gobject/log.h>
GType
libinsane_log_level_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_LOG_LEVEL_DEBUG, "LIBINSANE_LOG_LEVEL_DEBUG", "debug" },
            { LIBINSANE_LOG_LEVEL_INFO, "LIBINSANE_LOG_LEVEL_INFO", "info" },
            { LIBINSANE_LOG_LEVEL_WARNING, "LIBINSANE_LOG_LEVEL_WARNING", "warning" },
            { LIBINSANE_LOG_LEVEL_ERROR, "LIBINSANE_LOG_LEVEL_ERROR", "error" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneLogLevel"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "option_descriptor.h" */
#include <libinsane-gobject/option_descriptor.h>
GType
libinsane_set_flag_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GFlagsValue values[] = {
            { LIBINSANE_SET_FLAG_NONE, "LIBINSANE_SET_FLAG_NONE", "none" },
            { LIBINSANE_SET_FLAG_INEXACT, "LIBINSANE_SET_FLAG_INEXACT", "inexact" },
            { LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS, "LIBINSANE_SET_FLAG_MUST_RELOAD_OPTIONS", "must-reload-options" },
            { LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS, "LIBINSANE_SET_FLAG_MUST_RELOAD_PARAMS", "must-reload-params" },
            { 0, NULL, NULL }
        };

        GType type = g_flags_register_static (g_intern_static_string ("LibinsaneSetFlag"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}
/* enumerations from "unit.h" */
#include <libinsane-gobject/unit.h>
GType
libinsane_unit_get_type (void)
{
    static GType type_once = 0;

    if (g_once_init_enter (&type_once))
    {
        static const GEnumValue values[] = {
            { LIBINSANE_UNIT_NONE, "LIBINSANE_UNIT_NONE", "none" },
            { LIBINSANE_UNIT_PIXEL, "LIBINSANE_UNIT_PIXEL", "pixel" },
            { LIBINSANE_UNIT_BIT, "LIBINSANE_UNIT_BIT", "bit" },
            { LIBINSANE_UNIT_MM, "LIBINSANE_UNIT_MM", "mm" },
            { LIBINSANE_UNIT_DPI, "LIBINSANE_UNIT_DPI", "dpi" },
            { LIBINSANE_UNIT_PERCENT, "LIBINSANE_UNIT_PERCENT", "percent" },
            { LIBINSANE_UNIT_MICROSECOND, "LIBINSANE_UNIT_MICROSECOND", "microsecond" },
            { 0, NULL, NULL }
        };

        GType type = g_enum_register_static (g_intern_static_string ("LibinsaneUnit"), values);

        g_once_init_leave (&type_once, type);
    }

    return type_once;
}


/* Generated data ends here */

