mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-11-10 02:21:18 +00:00
280527d7a7
Copied from libfeedback as of 2e081602f627505e566cc0bdb6cd96c7642d8b65 and adjusted for our mocking needs. The mocked library will be LD_PRELOADED for the moment, but further changes to the build should allow us to simply link to it in the future.
49 lines
1.8 KiB
C
49 lines
1.8 KiB
C
|
|
/* 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 "lfb-enums.h"
|
|
#include "lfb-event.h"
|
|
|
|
#define C_ENUM(v) ((gint) v)
|
|
#define C_FLAGS(v) ((guint) v)
|
|
|
|
/* enumerations from "lfb-event.h" */
|
|
|
|
GType
|
|
lfb_event_state_get_type (void)
|
|
{
|
|
static gsize gtype_id = 0;
|
|
static const GEnumValue values[] = {
|
|
{ C_ENUM(LFB_EVENT_STATE_ERRORED), "LFB_EVENT_STATE_ERRORED", "errored" },
|
|
{ C_ENUM(LFB_EVENT_STATE_NONE), "LFB_EVENT_STATE_NONE", "none" },
|
|
{ C_ENUM(LFB_EVENT_STATE_RUNNING), "LFB_EVENT_STATE_RUNNING", "running" },
|
|
{ C_ENUM(LFB_EVENT_STATE_ENDED), "LFB_EVENT_STATE_ENDED", "ended" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
if (g_once_init_enter (>ype_id)) {
|
|
GType new_type = g_enum_register_static (g_intern_static_string ("LfbEventState"), values);
|
|
g_once_init_leave (>ype_id, new_type);
|
|
}
|
|
return (GType) gtype_id;
|
|
}
|
|
|
|
GType
|
|
lfb_event_end_reason_get_type (void)
|
|
{
|
|
static gsize gtype_id = 0;
|
|
static const GEnumValue values[] = {
|
|
{ C_ENUM(LFB_EVENT_END_REASON_NOT_FOUND), "LFB_EVENT_END_REASON_NOT_FOUND", "not-found" },
|
|
{ C_ENUM(LFB_EVENT_END_REASON_NATURAL), "LFB_EVENT_END_REASON_NATURAL", "natural" },
|
|
{ C_ENUM(LFB_EVENT_END_REASON_EXPIRED), "LFB_EVENT_END_REASON_EXPIRED", "expired" },
|
|
{ C_ENUM(LFB_EVENT_END_REASON_EXPLICIT), "LFB_EVENT_END_REASON_EXPLICIT", "explicit" },
|
|
{ 0, NULL, NULL }
|
|
};
|
|
if (g_once_init_enter (>ype_id)) {
|
|
GType new_type = g_enum_register_static (g_intern_static_string ("LfbEventEndReason"), values);
|
|
g_once_init_leave (>ype_id, new_type);
|
|
}
|
|
return (GType) gtype_id;
|
|
}
|
|
|
|
/* Generated data ends here */
|
|
|