spice/server/spice-server-enums.h.tmpl
Frediano Ziglio 31f0ce2086 Avoids registering type just to get the nick of an enum value
We don't use anymore GObject parameters so avoid having to
register enum values to GType system to use them.
We just need to get the nick value of the enum values for
debug purposes.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2020-05-01 06:58:09 +01:00

17 lines
302 B
Cheetah

/*** BEGIN file-header ***/
#pragma once
#include "spice.h"
SPICE_BEGIN_DECLS
/*** END file-header ***/
/*** BEGIN enumeration-production ***/
const char *@EnumName@_get_nick(@EnumName@ value);
/*** END enumeration-production ***/
/*** BEGIN file-tail ***/
SPICE_END_DECLS
/*** END file-tail ***/