Use GEnumTypes.

This commit is contained in:
Daiki Ueno
2011-03-23 17:25:29 +09:00
parent 638d41e0b6
commit 048fccd6e0
5 changed files with 99 additions and 20 deletions

View File

@ -0,0 +1,24 @@
/*** BEGIN file-header ***/
#ifndef __EEK_ENUMTYPES_H__
#define __EEK_ENUMTYPES_H__
#include <glib-object.h>
G_BEGIN_DECLS
/*** END file-header ***/
/*** BEGIN file-production ***/
/* enumerations from "@filename@" */
/*** END file-production ***/
/*** BEGIN value-header ***/
GType @enum_name@_get_type (void) G_GNUC_CONST;
#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
/*** END value-header ***/
/*** BEGIN file-tail ***/
G_END_DECLS
#endif /* __EEK_ENUMTYPES_H__ */
/*** END file-tail ***/