
/* 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 "clapper-enum-types.h"
#include "clapper.h"
#include "clapper-enums.h"
#include "clapper-audio-stream.h"
#include "clapper-basic-functions.h"
#include "clapper-enhancer-proxy.h"
#include "clapper-enhancer-proxy-list.h"
#include "clapper-extractable.h"
#include "clapper-feature.h"
#include "clapper-harvest.h"
#include "clapper-marker.h"
#include "clapper-media-item.h"
#include "clapper-player.h"
#include "clapper-playlistable.h"
#include "clapper-queue.h"
#include "clapper-reactable.h"
#include "clapper-stream.h"
#include "clapper-stream-list.h"
#include "clapper-subtitle-stream.h"
#include "clapper-threaded-object.h"
#include "clapper-timeline.h"
#include "clapper-utils.h"
#include "clapper-video-stream.h"
#include "clapper-version.h"
#include "clapper-visibility.h"
#include "clapper-functionalities-availability.h"

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

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

GType
clapper_player_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_PLAYER_STATE_STOPPED), "CLAPPER_PLAYER_STATE_STOPPED", "stopped" },
        { C_ENUM (CLAPPER_PLAYER_STATE_BUFFERING), "CLAPPER_PLAYER_STATE_BUFFERING", "buffering" },
        { C_ENUM (CLAPPER_PLAYER_STATE_PAUSED), "CLAPPER_PLAYER_STATE_PAUSED", "paused" },
        { C_ENUM (CLAPPER_PLAYER_STATE_PLAYING), "CLAPPER_PLAYER_STATE_PLAYING", "playing" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperPlayerState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_player_seek_method_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_PLAYER_SEEK_METHOD_ACCURATE), "CLAPPER_PLAYER_SEEK_METHOD_ACCURATE", "accurate" },
        { C_ENUM (CLAPPER_PLAYER_SEEK_METHOD_NORMAL), "CLAPPER_PLAYER_SEEK_METHOD_NORMAL", "normal" },
        { C_ENUM (CLAPPER_PLAYER_SEEK_METHOD_FAST), "CLAPPER_PLAYER_SEEK_METHOD_FAST", "fast" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperPlayerSeekMethod"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_player_message_destination_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_PLAYER_MESSAGE_DESTINATION_PLAYER), "CLAPPER_PLAYER_MESSAGE_DESTINATION_PLAYER", "player" },
        { C_ENUM (CLAPPER_PLAYER_MESSAGE_DESTINATION_REACTABLES), "CLAPPER_PLAYER_MESSAGE_DESTINATION_REACTABLES", "reactables" },
        { C_ENUM (CLAPPER_PLAYER_MESSAGE_DESTINATION_APPLICATION), "CLAPPER_PLAYER_MESSAGE_DESTINATION_APPLICATION", "application" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperPlayerMessageDestination"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_queue_progression_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_QUEUE_PROGRESSION_NONE), "CLAPPER_QUEUE_PROGRESSION_NONE", "none" },
        { C_ENUM (CLAPPER_QUEUE_PROGRESSION_CONSECUTIVE), "CLAPPER_QUEUE_PROGRESSION_CONSECUTIVE", "consecutive" },
        { C_ENUM (CLAPPER_QUEUE_PROGRESSION_REPEAT_ITEM), "CLAPPER_QUEUE_PROGRESSION_REPEAT_ITEM", "repeat-item" },
        { C_ENUM (CLAPPER_QUEUE_PROGRESSION_CAROUSEL), "CLAPPER_QUEUE_PROGRESSION_CAROUSEL", "carousel" },
        { C_ENUM (CLAPPER_QUEUE_PROGRESSION_SHUFFLE), "CLAPPER_QUEUE_PROGRESSION_SHUFFLE", "shuffle" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperQueueProgressionMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_marker_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_MARKER_TYPE_UNKNOWN), "CLAPPER_MARKER_TYPE_UNKNOWN", "unknown" },
        { C_ENUM (CLAPPER_MARKER_TYPE_TITLE), "CLAPPER_MARKER_TYPE_TITLE", "title" },
        { C_ENUM (CLAPPER_MARKER_TYPE_CHAPTER), "CLAPPER_MARKER_TYPE_CHAPTER", "chapter" },
        { C_ENUM (CLAPPER_MARKER_TYPE_TRACK), "CLAPPER_MARKER_TYPE_TRACK", "track" },
        { C_ENUM (CLAPPER_MARKER_TYPE_CUSTOM_1), "CLAPPER_MARKER_TYPE_CUSTOM_1", "custom-1" },
        { C_ENUM (CLAPPER_MARKER_TYPE_CUSTOM_2), "CLAPPER_MARKER_TYPE_CUSTOM_2", "custom-2" },
        { C_ENUM (CLAPPER_MARKER_TYPE_CUSTOM_3), "CLAPPER_MARKER_TYPE_CUSTOM_3", "custom-3" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperMarkerType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_stream_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_STREAM_TYPE_UNKNOWN), "CLAPPER_STREAM_TYPE_UNKNOWN", "unknown" },
        { C_ENUM (CLAPPER_STREAM_TYPE_VIDEO), "CLAPPER_STREAM_TYPE_VIDEO", "video" },
        { C_ENUM (CLAPPER_STREAM_TYPE_AUDIO), "CLAPPER_STREAM_TYPE_AUDIO", "audio" },
        { C_ENUM (CLAPPER_STREAM_TYPE_SUBTITLE), "CLAPPER_STREAM_TYPE_SUBTITLE", "subtitle" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperStreamType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_discoverer_discovery_mode_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (CLAPPER_DISCOVERER_DISCOVERY_ALWAYS), "CLAPPER_DISCOVERER_DISCOVERY_ALWAYS", "always" },
        { C_ENUM (CLAPPER_DISCOVERER_DISCOVERY_NONCURRENT), "CLAPPER_DISCOVERER_DISCOVERY_NONCURRENT", "noncurrent" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ClapperDiscovererDiscoveryMode"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_enhancer_param_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (CLAPPER_ENHANCER_PARAM_GLOBAL), "CLAPPER_ENHANCER_PARAM_GLOBAL", "global" },
        { C_FLAGS (CLAPPER_ENHANCER_PARAM_LOCAL), "CLAPPER_ENHANCER_PARAM_LOCAL", "local" },
        { C_FLAGS (CLAPPER_ENHANCER_PARAM_FILEPATH), "CLAPPER_ENHANCER_PARAM_FILEPATH", "filepath" },
        { C_FLAGS (CLAPPER_ENHANCER_PARAM_DIRPATH), "CLAPPER_ENHANCER_PARAM_DIRPATH", "dirpath" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("ClapperEnhancerParamFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
clapper_reactable_item_updated_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_TITLE), "CLAPPER_REACTABLE_ITEM_UPDATED_TITLE", "title" },
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_DURATION), "CLAPPER_REACTABLE_ITEM_UPDATED_DURATION", "duration" },
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_TIMELINE), "CLAPPER_REACTABLE_ITEM_UPDATED_TIMELINE", "timeline" },
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_TAGS), "CLAPPER_REACTABLE_ITEM_UPDATED_TAGS", "tags" },
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_REDIRECT_URI), "CLAPPER_REACTABLE_ITEM_UPDATED_REDIRECT_URI", "redirect-uri" },
        { C_FLAGS (CLAPPER_REACTABLE_ITEM_UPDATED_CACHE_LOCATION), "CLAPPER_REACTABLE_ITEM_UPDATED_CACHE_LOCATION", "cache-location" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("ClapperReactableItemUpdatedFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

