2007-12-01 02:53:00 +01:00
|
|
|
/*** BEGIN file-header ***/
|
2012-12-06 19:29:31 +01:00
|
|
|
#include "config.h"
|
|
|
|
#include "gioenumtypes.h"
|
2007-12-01 02:53:00 +01:00
|
|
|
#include <gio.h>
|
|
|
|
|
|
|
|
/*** END file-header ***/
|
|
|
|
|
|
|
|
/*** BEGIN file-production ***/
|
|
|
|
/* enumerations from "@filename@" */
|
|
|
|
/*** END file-production ***/
|
|
|
|
|
|
|
|
/*** BEGIN value-header ***/
|
|
|
|
GType
|
|
|
|
@enum_name@_get_type (void)
|
|
|
|
{
|
2020-11-11 19:12:22 +01:00
|
|
|
static gsize static_g_define_type_id = 0;
|
2007-12-01 02:53:00 +01:00
|
|
|
|
2020-11-11 19:12:22 +01:00
|
|
|
if (g_once_init_enter (&static_g_define_type_id))
|
2007-12-01 18:40:19 +01:00
|
|
|
{
|
|
|
|
static const G@Type@Value values[] = {
|
2007-12-01 02:53:00 +01:00
|
|
|
/*** END value-header ***/
|
|
|
|
|
|
|
|
/*** BEGIN value-production ***/
|
2007-12-01 18:40:19 +01:00
|
|
|
{ @VALUENAME@, "@VALUENAME@", "@valuenick@" },
|
2007-12-01 02:53:00 +01:00
|
|
|
/*** END value-production ***/
|
|
|
|
|
|
|
|
/*** BEGIN value-tail ***/
|
2007-12-01 18:40:19 +01:00
|
|
|
{ 0, NULL, NULL }
|
|
|
|
};
|
|
|
|
GType g_define_type_id =
|
2007-12-02 00:49:34 +01:00
|
|
|
g_@type@_register_static (g_intern_static_string ("@EnumName@"), values);
|
2020-11-11 19:12:22 +01:00
|
|
|
g_once_init_leave (&static_g_define_type_id, g_define_type_id);
|
2007-12-01 02:53:00 +01:00
|
|
|
}
|
2007-12-01 18:40:19 +01:00
|
|
|
|
2020-11-11 19:12:22 +01:00
|
|
|
return static_g_define_type_id;
|
2007-12-01 02:53:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/*** END value-tail ***/
|