
/* 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 "gdata-youtube-enums.h"
#include "gdata-youtube-category.h"
#include "gdata-youtube-comment.h"
#include "gdata-youtube-content.h"
#include "gdata-youtube-credit.h"
#include "gdata-youtube-feed.h"
#include "gdata-youtube-query.h"
#include "gdata-youtube-service.h"
#include "gdata-youtube-state.h"
#include "gdata-youtube-video.h"

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

/* enumerations from "gdata-youtube-content.h" */

GType
gdata_youtube_format_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_FORMAT_UNKNOWN), "GDATA_YOUTUBE_FORMAT_UNKNOWN", "unknown" },
        { C_ENUM (GDATA_YOUTUBE_FORMAT_RTSP_H263_AMR), "GDATA_YOUTUBE_FORMAT_RTSP_H263_AMR", "rtsp-h263-amr" },
        { C_ENUM (GDATA_YOUTUBE_FORMAT_HTTP_SWF), "GDATA_YOUTUBE_FORMAT_HTTP_SWF", "http-swf" },
        { C_ENUM (GDATA_YOUTUBE_FORMAT_RTSP_MPEG4_AAC), "GDATA_YOUTUBE_FORMAT_RTSP_MPEG4_AAC", "rtsp-mpeg4-aac" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeFormat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-youtube-query.h" */

GType
gdata_youtube_safe_search_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_SAFE_SEARCH_NONE), "GDATA_YOUTUBE_SAFE_SEARCH_NONE", "none" },
        { C_ENUM (GDATA_YOUTUBE_SAFE_SEARCH_MODERATE), "GDATA_YOUTUBE_SAFE_SEARCH_MODERATE", "moderate" },
        { C_ENUM (GDATA_YOUTUBE_SAFE_SEARCH_STRICT), "GDATA_YOUTUBE_SAFE_SEARCH_STRICT", "strict" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeSafeSearch"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gdata_youtube_sort_order_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_SORT_NONE), "GDATA_YOUTUBE_SORT_NONE", "none" },
        { C_ENUM (GDATA_YOUTUBE_SORT_ASCENDING), "GDATA_YOUTUBE_SORT_ASCENDING", "ascending" },
        { C_ENUM (GDATA_YOUTUBE_SORT_DESCENDING), "GDATA_YOUTUBE_SORT_DESCENDING", "descending" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeSortOrder"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gdata_youtube_age_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_AGE_ALL_TIME), "GDATA_YOUTUBE_AGE_ALL_TIME", "all-time" },
        { C_ENUM (GDATA_YOUTUBE_AGE_TODAY), "GDATA_YOUTUBE_AGE_TODAY", "today" },
        { C_ENUM (GDATA_YOUTUBE_AGE_THIS_WEEK), "GDATA_YOUTUBE_AGE_THIS_WEEK", "this-week" },
        { C_ENUM (GDATA_YOUTUBE_AGE_THIS_MONTH), "GDATA_YOUTUBE_AGE_THIS_MONTH", "this-month" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeAge"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gdata_youtube_uploader_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_UPLOADER_ALL), "GDATA_YOUTUBE_UPLOADER_ALL", "all" },
        { C_ENUM (GDATA_YOUTUBE_UPLOADER_PARTNER), "GDATA_YOUTUBE_UPLOADER_PARTNER", "partner" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeUploader"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-youtube-service.h" */

GType
gdata_youtube_standard_feed_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_TOP_RATED_FEED), "GDATA_YOUTUBE_TOP_RATED_FEED", "top-rated-feed" },
        { C_ENUM (GDATA_YOUTUBE_TOP_FAVORITES_FEED), "GDATA_YOUTUBE_TOP_FAVORITES_FEED", "top-favorites-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_VIEWED_FEED), "GDATA_YOUTUBE_MOST_VIEWED_FEED", "most-viewed-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_POPULAR_FEED), "GDATA_YOUTUBE_MOST_POPULAR_FEED", "most-popular-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_RECENT_FEED), "GDATA_YOUTUBE_MOST_RECENT_FEED", "most-recent-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_DISCUSSED_FEED), "GDATA_YOUTUBE_MOST_DISCUSSED_FEED", "most-discussed-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_LINKED_FEED), "GDATA_YOUTUBE_MOST_LINKED_FEED", "most-linked-feed" },
        { C_ENUM (GDATA_YOUTUBE_MOST_RESPONDED_FEED), "GDATA_YOUTUBE_MOST_RESPONDED_FEED", "most-responded-feed" },
        { C_ENUM (GDATA_YOUTUBE_RECENTLY_FEATURED_FEED), "GDATA_YOUTUBE_RECENTLY_FEATURED_FEED", "recently-featured-feed" },
        { C_ENUM (GDATA_YOUTUBE_WATCH_ON_MOBILE_FEED), "GDATA_YOUTUBE_WATCH_ON_MOBILE_FEED", "watch-on-mobile-feed" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeStandardFeedType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gdata_youtube_service_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_SERVICE_ERROR_API_QUOTA_EXCEEDED), "GDATA_YOUTUBE_SERVICE_ERROR_API_QUOTA_EXCEEDED", "api-quota-exceeded" },
        { C_ENUM (GDATA_YOUTUBE_SERVICE_ERROR_ENTRY_QUOTA_EXCEEDED), "GDATA_YOUTUBE_SERVICE_ERROR_ENTRY_QUOTA_EXCEEDED", "entry-quota-exceeded" },
        { C_ENUM (GDATA_YOUTUBE_SERVICE_ERROR_CHANNEL_REQUIRED), "GDATA_YOUTUBE_SERVICE_ERROR_CHANNEL_REQUIRED", "channel-required" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubeServiceError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-youtube-video.h" */

GType
gdata_youtube_permission_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_YOUTUBE_PERMISSION_ALLOWED), "GDATA_YOUTUBE_PERMISSION_ALLOWED", "allowed" },
        { C_ENUM (GDATA_YOUTUBE_PERMISSION_DENIED), "GDATA_YOUTUBE_PERMISSION_DENIED", "denied" },
        { C_ENUM (GDATA_YOUTUBE_PERMISSION_MODERATED), "GDATA_YOUTUBE_PERMISSION_MODERATED", "moderated" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataYouTubePermission"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

