From c4b48e67fca6adb72ce5cba9c2ee3d0d4956a807 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Thu, 26 Jun 2008 18:32:49 +0000 Subject: Use glib-mkenums to generate the enum types. svn path=/trunk/; revision=2068 --- src/vtetypebuiltins.h.template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 src/vtetypebuiltins.h.template (limited to 'src/vtetypebuiltins.h.template') diff --git a/src/vtetypebuiltins.h.template b/src/vtetypebuiltins.h.template new file mode 100644 index 0000000..a886d59 --- /dev/null +++ b/src/vtetypebuiltins.h.template @@ -0,0 +1,28 @@ +/*** BEGIN file-header ***/ +#if !defined (__VTE_VTE_H_INSIDE__) && !defined (VTE_COMPILATION) +#error "Only can be included directly." +#endif + +#ifndef VTE_TYPE_BUILTINS_H +#define VTE_TYPE_BUILTINS_H + +#include + +G_BEGIN_DECLS +/*** END file-header ***/ + +/*** BEGIN file-production ***/ + +/* enumerations from "@filename@" */ +/*** END file-production ***/ + +/*** BEGIN value-header ***/ +GType @enum_name@_get_type (void); +#define VTE_TYPE_@ENUMSHORT@ (@enum_name@_get_type ()) +/*** END value-header ***/ + +/*** BEGIN file-tail ***/ +G_END_DECLS + +#endif /* !VTE_TYPE_BUILTINS_H */ +/*** END file-tail ***/ -- cgit v1.2.3