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

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

/* enumerations from "fprintd.h" */

GType
fprint_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (FPRINT_ERROR_CLAIM_DEVICE), "FPRINT_ERROR_CLAIM_DEVICE", "net.reactivated.Fprint.Error.ClaimDevice" },
        { C_ENUM (FPRINT_ERROR_ALREADY_IN_USE), "FPRINT_ERROR_ALREADY_IN_USE", "net.reactivated.Fprint.Error.AlreadyInUse" },
        { C_ENUM (FPRINT_ERROR_INTERNAL), "FPRINT_ERROR_INTERNAL", "net.reactivated.Fprint.Error.Internal" },
        { C_ENUM (FPRINT_ERROR_PERMISSION_DENIED), "FPRINT_ERROR_PERMISSION_DENIED", "net.reactivated.Fprint.Error.PermissionDenied" },
        { C_ENUM (FPRINT_ERROR_NO_ENROLLED_PRINTS), "FPRINT_ERROR_NO_ENROLLED_PRINTS", "net.reactivated.Fprint.Error.NoEnrolledPrints" },
        { C_ENUM (FPRINT_ERROR_FINGER_ALREADY_ENROLLED), "FPRINT_ERROR_FINGER_ALREADY_ENROLLED", "net.reactivated.Fprint.Error.FingerAlreadyEnrolled" },
        { C_ENUM (FPRINT_ERROR_NO_ACTION_IN_PROGRESS), "FPRINT_ERROR_NO_ACTION_IN_PROGRESS", "net.reactivated.Fprint.Error.NoActionInProgress" },
        { C_ENUM (FPRINT_ERROR_INVALID_FINGERNAME), "FPRINT_ERROR_INVALID_FINGERNAME", "net.reactivated.Fprint.Error.InvalidFingername" },
        { C_ENUM (FPRINT_ERROR_NO_SUCH_DEVICE), "FPRINT_ERROR_NO_SUCH_DEVICE", "net.reactivated.Fprint.Error.NoSuchDevice" },
        { C_ENUM (FPRINT_ERROR_PRINTS_NOT_DELETED), "FPRINT_ERROR_PRINTS_NOT_DELETED", "net.reactivated.Fprint.Error.PrintsNotDeleted" },
        { C_ENUM (FPRINT_ERROR_PRINTS_NOT_DELETED_FROM_DEVICE), "FPRINT_ERROR_PRINTS_NOT_DELETED_FROM_DEVICE", "net.reactivated.Fprint.Error.PrintsNotDeletedFromDevice" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("FprintError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
fprint_device_permission_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (FPRINT_DEVICE_PERMISSION_NONE), "FPRINT_DEVICE_PERMISSION_NONE", "none" },
        { C_FLAGS (FPRINT_DEVICE_PERMISSION_VERIFY), "FPRINT_DEVICE_PERMISSION_VERIFY", "net.reactivated.fprint.device.verify" },
        { C_FLAGS (FPRINT_DEVICE_PERMISSION_ENROLL), "FPRINT_DEVICE_PERMISSION_ENROLL", "net.reactivated.fprint.device.enroll" },
        { C_FLAGS (FPRINT_DEVICE_PERMISSION_SETUSERNAME), "FPRINT_DEVICE_PERMISSION_SETUSERNAME", "net.reactivated.fprint.device.setusername" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("FprintDevicePermission"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

