
/* 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 "parole-enum-types.h"
#include "parole-pl-parser.h"
#include "parole-provider-player.h"
#include "parole-stream.h"

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

/* enumerations from "parole-pl-parser.h" */

GType
parole_pl_format_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PAROLE_PL_FORMAT_UNKNOWN), "PAROLE_PL_FORMAT_UNKNOWN", "unknown" },
        { C_ENUM (PAROLE_PL_FORMAT_M3U), "PAROLE_PL_FORMAT_M3U", "m3u" },
        { C_ENUM (PAROLE_PL_FORMAT_PLS), "PAROLE_PL_FORMAT_PLS", "pls" },
        { C_ENUM (PAROLE_PL_FORMAT_ASX), "PAROLE_PL_FORMAT_ASX", "asx" },
        { C_ENUM (PAROLE_PL_FORMAT_XSPF), "PAROLE_PL_FORMAT_XSPF", "xspf" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ParolePlFormat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "parole-provider-player.h" */

GType
parole_plugin_container_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PAROLE_PLUGIN_CONTAINER_PLAYLIST), "PAROLE_PLUGIN_CONTAINER_PLAYLIST", "playlist" },
        { C_ENUM (PAROLE_PLUGIN_CONTAINER_MAIN_VIEW), "PAROLE_PLUGIN_CONTAINER_MAIN_VIEW", "main-view" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ParolePluginContainer"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "parole-stream.h" */

GType
parole_media_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PAROLE_MEDIA_TYPE_UNKNOWN), "PAROLE_MEDIA_TYPE_UNKNOWN", "unknown" },
        { C_ENUM (PAROLE_MEDIA_TYPE_LOCAL_FILE), "PAROLE_MEDIA_TYPE_LOCAL_FILE", "local-file" },
        { C_ENUM (PAROLE_MEDIA_TYPE_CDDA), "PAROLE_MEDIA_TYPE_CDDA", "cdda" },
        { C_ENUM (PAROLE_MEDIA_TYPE_VCD), "PAROLE_MEDIA_TYPE_VCD", "vcd" },
        { C_ENUM (PAROLE_MEDIA_TYPE_SVCD), "PAROLE_MEDIA_TYPE_SVCD", "svcd" },
        { C_ENUM (PAROLE_MEDIA_TYPE_DVD), "PAROLE_MEDIA_TYPE_DVD", "dvd" },
        { C_ENUM (PAROLE_MEDIA_TYPE_DVB), "PAROLE_MEDIA_TYPE_DVB", "dvb" },
        { C_ENUM (PAROLE_MEDIA_TYPE_REMOTE), "PAROLE_MEDIA_TYPE_REMOTE", "remote" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ParoleMediaType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
parole_state_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (PAROLE_STATE_STOPPED), "PAROLE_STATE_STOPPED", "stopped" },
        { C_ENUM (PAROLE_STATE_PLAYBACK_FINISHED), "PAROLE_STATE_PLAYBACK_FINISHED", "playback-finished" },
        { C_ENUM (PAROLE_STATE_ABOUT_TO_FINISH), "PAROLE_STATE_ABOUT_TO_FINISH", "about-to-finish" },
        { C_ENUM (PAROLE_STATE_PAUSED), "PAROLE_STATE_PAUSED", "paused" },
        { C_ENUM (PAROLE_STATE_PLAYING), "PAROLE_STATE_PLAYING", "playing" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("ParoleState"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

