From ba81d4a04a4291ad065c64f4fc79fd51c4b68bc9 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Oct 2009 13:43:47 -0500 Subject: Putting in the enum templates and building them. --- .../custom-indicator-enum-types.h.in | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/libcustomindicator/custom-indicator-enum-types.h.in (limited to 'src/libcustomindicator/custom-indicator-enum-types.h.in') diff --git a/src/libcustomindicator/custom-indicator-enum-types.h.in b/src/libcustomindicator/custom-indicator-enum-types.h.in new file mode 100644 index 0000000..8afe619 --- /dev/null +++ b/src/libcustomindicator/custom-indicator-enum-types.h.in @@ -0,0 +1,34 @@ +/*** BEGIN file-header ***/ +#ifndef __CUSTOM_INDICATOR_ENUM_TYPES_H__ +#define __CUSTOM_INDICATOR_ENUM_TYPES_H__ + +#include + +G_BEGIN_DECLS + +/*** END file-header ***/ + +/*** BEGIN file-tail ***/ + +G_END_DECLS + +#endif /* __CUSTOM_INDICATOR_ENUM_TYPES_H__ */ +/*** END file-tail ***/ + +/*** BEGIN file-production ***/ +/* Enumerations from file: "@filename@" */ +/*** END file-production ***/ + +/*** BEGIN value-header ***/ +/** + @enum_name@_get_type: + + Builds a glib type for the @enum_name@ enumeration + defined in the file @filename@. + + Return value: A registered type for the enum +*/ +GType @enum_name@_get_type (void) G_GNUC_CONST; +#define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) + +/*** END value-header ***/ -- cgit v1.2.3 From 00c47642a916ef41e7237b7ab84a488557876640 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 16 Oct 2009 14:31:50 -0500 Subject: Fixing the templates. --- src/libcustomindicator/custom-indicator-enum-types.h.in | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/libcustomindicator/custom-indicator-enum-types.h.in') diff --git a/src/libcustomindicator/custom-indicator-enum-types.h.in b/src/libcustomindicator/custom-indicator-enum-types.h.in index 8afe619..4f636d4 100644 --- a/src/libcustomindicator/custom-indicator-enum-types.h.in +++ b/src/libcustomindicator/custom-indicator-enum-types.h.in @@ -21,14 +21,13 @@ G_END_DECLS /*** BEGIN value-header ***/ /** - @enum_name@_get_type: + @EnumName@_get_type: - Builds a glib type for the @enum_name@ enumeration - defined in the file @filename@. + Builds a glib type for the @EnumName@ enumeration. Return value: A registered type for the enum */ -GType @enum_name@_get_type (void) G_GNUC_CONST; -#define CLUTTER_TYPE_@ENUMSHORT@ (@enum_name@_get_type()) +GType @EnumName@_get_type (void) G_GNUC_CONST; +#define CLUTTER_TYPE_@ENUMSHORT@ (@EnumName@_get_type()) /*** END value-header ***/ -- cgit v1.2.3