
/* 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 <glib-object.h>
#include "goabackendenumtypes.h"
#include "goabackendenums.h"

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

/* enumerations from "goabackendenums.h" */

GType
goa_provider_group_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GOA_PROVIDER_GROUP_BRANDED), "GOA_PROVIDER_GROUP_BRANDED", "branded" },
        { C_ENUM (GOA_PROVIDER_GROUP_CONTACTS), "GOA_PROVIDER_GROUP_CONTACTS", "contacts" },
        { C_ENUM (GOA_PROVIDER_GROUP_MAIL), "GOA_PROVIDER_GROUP_MAIL", "mail" },
        { C_ENUM (GOA_PROVIDER_GROUP_TICKETING), "GOA_PROVIDER_GROUP_TICKETING", "ticketing" },
        { C_ENUM (GOA_PROVIDER_GROUP_CHAT), "GOA_PROVIDER_GROUP_CHAT", "chat" },
        { C_ENUM (GOA_PROVIDER_GROUP_INVALID), "GOA_PROVIDER_GROUP_INVALID", "invalid" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GoaProviderGroup"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
goa_provider_features_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (GOA_PROVIDER_FEATURE_BRANDED), "GOA_PROVIDER_FEATURE_BRANDED", "branded" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_MAIL), "GOA_PROVIDER_FEATURE_MAIL", "mail" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_CALENDAR), "GOA_PROVIDER_FEATURE_CALENDAR", "calendar" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_CONTACTS), "GOA_PROVIDER_FEATURE_CONTACTS", "contacts" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_CHAT), "GOA_PROVIDER_FEATURE_CHAT", "chat" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_DOCUMENTS), "GOA_PROVIDER_FEATURE_DOCUMENTS", "documents" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_PHOTOS), "GOA_PROVIDER_FEATURE_PHOTOS", "photos" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_FILES), "GOA_PROVIDER_FEATURE_FILES", "files" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_TICKETING), "GOA_PROVIDER_FEATURE_TICKETING", "ticketing" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_READ_LATER), "GOA_PROVIDER_FEATURE_READ_LATER", "read-later" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_PRINTERS), "GOA_PROVIDER_FEATURE_PRINTERS", "printers" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_MAPS), "GOA_PROVIDER_FEATURE_MAPS", "maps" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_MUSIC), "GOA_PROVIDER_FEATURE_MUSIC", "music" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_TODO), "GOA_PROVIDER_FEATURE_TODO", "todo" },
        { C_FLAGS (GOA_PROVIDER_FEATURE_INVALID), "GOA_PROVIDER_FEATURE_INVALID", "invalid" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("GoaProviderFeatures"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

