summaryrefslogtreecommitdiff
path: root/build-aux/templates/mm-errors-types.h.template
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/templates/mm-errors-types.h.template')
-rw-r--r--build-aux/templates/mm-errors-types.h.template23
1 files changed, 23 insertions, 0 deletions
diff --git a/build-aux/templates/mm-errors-types.h.template b/build-aux/templates/mm-errors-types.h.template
new file mode 100644
index 000000000..5c80bee6d
--- /dev/null
+++ b/build-aux/templates/mm-errors-types.h.template
@@ -0,0 +1,23 @@
+/*** BEGIN file-header ***/
+
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+/*** END file-header ***/
+
+/*** BEGIN file-production ***/
+
+/* enumerations from "@basename@" */
+/*** END file-production ***/
+
+/*** BEGIN value-header ***/
+GQuark @enum_name@_quark (void); /* implemented in mm-errors-quarks.c */
+GType @enum_name@_get_type (void) G_GNUC_CONST;
+#define @ENUMNAME@ (@enum_name@_quark ())
+#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
+/*** END value-header ***/
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+/*** END file-tail ***/