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

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

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

GType
gcal_time_format_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_TIME_FORMAT_12H), "GCAL_TIME_FORMAT_12H", "12h" },
        { C_ENUM (GCAL_TIME_FORMAT_24H), "GCAL_TIME_FORMAT_24H", "24h" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalTimeFormat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_window_view_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_WINDOW_VIEW_MONTH), "GCAL_WINDOW_VIEW_MONTH", "month" },
        { C_ENUM (GCAL_WINDOW_VIEW_WEEK), "GCAL_WINDOW_VIEW_WEEK", "week" },
        { C_ENUM (GCAL_WINDOW_VIEW_AGENDA), "GCAL_WINDOW_VIEW_AGENDA", "agenda" },
        { C_ENUM (GCAL_WINDOW_VIEW_N_VIEWS), "GCAL_WINDOW_VIEW_N_VIEWS", "n-views" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalWindowView"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_week_day_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (GCAL_WEEK_DAY_INVALID), "GCAL_WEEK_DAY_INVALID", "invalid" },
        { C_FLAGS (GCAL_WEEK_DAY_SUNDAY), "GCAL_WEEK_DAY_SUNDAY", "sunday" },
        { C_FLAGS (GCAL_WEEK_DAY_MONDAY), "GCAL_WEEK_DAY_MONDAY", "monday" },
        { C_FLAGS (GCAL_WEEK_DAY_TUESDAY), "GCAL_WEEK_DAY_TUESDAY", "tuesday" },
        { C_FLAGS (GCAL_WEEK_DAY_WEDNESDAY), "GCAL_WEEK_DAY_WEDNESDAY", "wednesday" },
        { C_FLAGS (GCAL_WEEK_DAY_THURSDAY), "GCAL_WEEK_DAY_THURSDAY", "thursday" },
        { C_FLAGS (GCAL_WEEK_DAY_FRIDAY), "GCAL_WEEK_DAY_FRIDAY", "friday" },
        { C_FLAGS (GCAL_WEEK_DAY_SATURDAY), "GCAL_WEEK_DAY_SATURDAY", "saturday" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("GcalWeekDay"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_timestamp_policy_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_TIMESTAMP_POLICY_NONE), "GCAL_TIMESTAMP_POLICY_NONE", "none" },
        { C_ENUM (GCAL_TIMESTAMP_POLICY_START), "GCAL_TIMESTAMP_POLICY_START", "start" },
        { C_ENUM (GCAL_TIMESTAMP_POLICY_END), "GCAL_TIMESTAMP_POLICY_END", "end" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalTimestampPolicy"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_event_attendee_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_INDIVIDUAL), "GCAL_EVENT_ATTENDEE_TYPE_INDIVIDUAL", "individual" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_GROUP), "GCAL_EVENT_ATTENDEE_TYPE_GROUP", "group" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_RESOURCE), "GCAL_EVENT_ATTENDEE_TYPE_RESOURCE", "resource" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_ROOM), "GCAL_EVENT_ATTENDEE_TYPE_ROOM", "room" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_UNKNOWN), "GCAL_EVENT_ATTENDEE_TYPE_UNKNOWN", "unknown" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_TYPE_NONE), "GCAL_EVENT_ATTENDEE_TYPE_NONE", "none" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalEventAttendeeType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_event_attendee_part_stat_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_NEEDS_ACTION), "GCAL_EVENT_ATTENDEE_PART_NEEDS_ACTION", "needs-action" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_ACCEPTED), "GCAL_EVENT_ATTENDEE_PART_ACCEPTED", "accepted" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_DECLINED), "GCAL_EVENT_ATTENDEE_PART_DECLINED", "declined" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_TENTATIVE), "GCAL_EVENT_ATTENDEE_PART_TENTATIVE", "tentative" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_DELEGATED), "GCAL_EVENT_ATTENDEE_PART_DELEGATED", "delegated" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_COMPLETED), "GCAL_EVENT_ATTENDEE_PART_COMPLETED", "completed" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_INPROCESS), "GCAL_EVENT_ATTENDEE_PART_INPROCESS", "inprocess" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_FAILED), "GCAL_EVENT_ATTENDEE_PART_FAILED", "failed" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_PART_NONE), "GCAL_EVENT_ATTENDEE_PART_NONE", "none" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalEventAttendeePartStat"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_event_attendee_role_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GCAL_EVENT_ATTENDEE_ROLE_CHAIR), "GCAL_EVENT_ATTENDEE_ROLE_CHAIR", "chair" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_ROLE_REQUIRED), "GCAL_EVENT_ATTENDEE_ROLE_REQUIRED", "required" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_ROLE_OPTIONAL), "GCAL_EVENT_ATTENDEE_ROLE_OPTIONAL", "optional" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_ROLE_NONPARTICIPANT), "GCAL_EVENT_ATTENDEE_ROLE_NONPARTICIPANT", "nonparticipant" },
        { C_ENUM (GCAL_EVENT_ATTENDEE_ROLE_NONE), "GCAL_EVENT_ATTENDEE_ROLE_NONE", "none" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GcalEventAttendeeRole"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gcal_event_attendee_type_filter_flags_get_type (void)
{
    static gsize gtype_id = 0;
    static const GFlagsValue values[] = {
        { C_FLAGS (GCAL_EVENT_ATTENDEE_TYPE_FILTER_NONE), "GCAL_EVENT_ATTENDEE_TYPE_FILTER_NONE", "none" },
        { C_FLAGS (GCAL_EVENT_ATTENDEE_TYPE_FILTER_PERSON), "GCAL_EVENT_ATTENDEE_TYPE_FILTER_PERSON", "person" },
        { C_FLAGS (GCAL_EVENT_ATTENDEE_TYPE_FILTER_RESOURCE), "GCAL_EVENT_ATTENDEE_TYPE_FILTER_RESOURCE", "resource" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_flags_register_static (g_intern_static_string ("GcalEventAttendeeTypeFilterFlags"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

