diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-06-26 18:32:49 +0000 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-06-26 18:32:49 +0000 |
commit | c4b48e67fca6adb72ce5cba9c2ee3d0d4956a807 (patch) | |
tree | e450310a54ea066ed9c6c86c67a225bfbc96b77f /src/vtetypebuiltins.h.template | |
parent | fd64778a2c3cb991f9cff661cf35fa3830282ed7 (diff) |
Use glib-mkenums to generate the enum types.
svn path=/trunk/; revision=2068
Diffstat (limited to 'src/vtetypebuiltins.h.template')
-rw-r--r-- | src/vtetypebuiltins.h.template | 28 |
1 files changed, 28 insertions, 0 deletions
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 <vte/vte.h> can be included directly." +#endif + +#ifndef VTE_TYPE_BUILTINS_H +#define VTE_TYPE_BUILTINS_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); +#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 ***/ |