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

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

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

GType
bluetooth_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (BLUETOOTH_TYPE_ANY), "BLUETOOTH_TYPE_ANY", "any" },
        { C_FLAGS (BLUETOOTH_TYPE_PHONE), "BLUETOOTH_TYPE_PHONE", "phone" },
        { C_FLAGS (BLUETOOTH_TYPE_MODEM), "BLUETOOTH_TYPE_MODEM", "modem" },
        { C_FLAGS (BLUETOOTH_TYPE_COMPUTER), "BLUETOOTH_TYPE_COMPUTER", "computer" },
        { C_FLAGS (BLUETOOTH_TYPE_NETWORK), "BLUETOOTH_TYPE_NETWORK", "network" },
        { C_FLAGS (BLUETOOTH_TYPE_HEADSET), "BLUETOOTH_TYPE_HEADSET", "headset" },
        { C_FLAGS (BLUETOOTH_TYPE_HEADPHONES), "BLUETOOTH_TYPE_HEADPHONES", "headphones" },
        { C_FLAGS (BLUETOOTH_TYPE_OTHER_AUDIO), "BLUETOOTH_TYPE_OTHER_AUDIO", "other-audio" },
        { C_FLAGS (BLUETOOTH_TYPE_KEYBOARD), "BLUETOOTH_TYPE_KEYBOARD", "keyboard" },
        { C_FLAGS (BLUETOOTH_TYPE_MOUSE), "BLUETOOTH_TYPE_MOUSE", "mouse" },
        { C_FLAGS (BLUETOOTH_TYPE_CAMERA), "BLUETOOTH_TYPE_CAMERA", "camera" },
        { C_FLAGS (BLUETOOTH_TYPE_PRINTER), "BLUETOOTH_TYPE_PRINTER", "printer" },
        { C_FLAGS (BLUETOOTH_TYPE_JOYPAD), "BLUETOOTH_TYPE_JOYPAD", "joypad" },
        { C_FLAGS (BLUETOOTH_TYPE_TABLET), "BLUETOOTH_TYPE_TABLET", "tablet" },
        { C_FLAGS (BLUETOOTH_TYPE_VIDEO), "BLUETOOTH_TYPE_VIDEO", "video" },
        { C_FLAGS (BLUETOOTH_TYPE_REMOTE_CONTROL), "BLUETOOTH_TYPE_REMOTE_CONTROL", "remote-control" },
        { C_FLAGS (BLUETOOTH_TYPE_SCANNER), "BLUETOOTH_TYPE_SCANNER", "scanner" },
        { C_FLAGS (BLUETOOTH_TYPE_DISPLAY), "BLUETOOTH_TYPE_DISPLAY", "display" },
        { C_FLAGS (BLUETOOTH_TYPE_WEARABLE), "BLUETOOTH_TYPE_WEARABLE", "wearable" },
        { C_FLAGS (BLUETOOTH_TYPE_TOY), "BLUETOOTH_TYPE_TOY", "toy" },
        { C_FLAGS (BLUETOOTH_TYPE_SPEAKERS), "BLUETOOTH_TYPE_SPEAKERS", "speakers" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("BluetoothType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bluetooth_battery_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BLUETOOTH_BATTERY_TYPE_NONE), "BLUETOOTH_BATTERY_TYPE_NONE", "none" },
        { C_ENUM (BLUETOOTH_BATTERY_TYPE_PERCENTAGE), "BLUETOOTH_BATTERY_TYPE_PERCENTAGE", "percentage" },
        { C_ENUM (BLUETOOTH_BATTERY_TYPE_COARSE), "BLUETOOTH_BATTERY_TYPE_COARSE", "coarse" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BluetoothBatteryType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
bluetooth_adapter_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (BLUETOOTH_ADAPTER_STATE_ABSENT), "BLUETOOTH_ADAPTER_STATE_ABSENT", "absent" },
        { C_ENUM (BLUETOOTH_ADAPTER_STATE_ON), "BLUETOOTH_ADAPTER_STATE_ON", "on" },
        { C_ENUM (BLUETOOTH_ADAPTER_STATE_TURNING_ON), "BLUETOOTH_ADAPTER_STATE_TURNING_ON", "turning-on" },
        { C_ENUM (BLUETOOTH_ADAPTER_STATE_TURNING_OFF), "BLUETOOTH_ADAPTER_STATE_TURNING_OFF", "turning-off" },
        { C_ENUM (BLUETOOTH_ADAPTER_STATE_OFF), "BLUETOOTH_ADAPTER_STATE_OFF", "off" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("BluetoothAdapterState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

