
/* 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 "dia-uml-enums.h"
#include "uml.h"

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

/* enumerations from "uml.h" */

GType
dia_uml_visibility_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (DIA_UML_PUBLIC), "DIA_UML_PUBLIC", "public" },
        { C_ENUM (DIA_UML_PRIVATE), "DIA_UML_PRIVATE", "private" },
        { C_ENUM (DIA_UML_PROTECTED), "DIA_UML_PROTECTED", "protected" },
        { C_ENUM (DIA_UML_IMPLEMENTATION), "DIA_UML_IMPLEMENTATION", "implementation" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("DiaUmlVisibility"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
dia_uml_inheritance_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (DIA_UML_ABSTRACT), "DIA_UML_ABSTRACT", "abstract" },
        { C_ENUM (DIA_UML_POLYMORPHIC), "DIA_UML_POLYMORPHIC", "polymorphic" },
        { C_ENUM (DIA_UML_LEAF), "DIA_UML_LEAF", "leaf" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("DiaUmlInheritanceType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
dia_uml_parameter_kind_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (DIA_UML_UNDEF_KIND), "DIA_UML_UNDEF_KIND", "undef-kind" },
        { C_ENUM (DIA_UML_IN), "DIA_UML_IN", "in" },
        { C_ENUM (DIA_UML_OUT), "DIA_UML_OUT", "out" },
        { C_ENUM (DIA_UML_INOUT), "DIA_UML_INOUT", "inout" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("DiaUmlParameterKind"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

