summary refs log tree commit diff
path: root/libnm/nm-enum-types.h.template
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-enum-types.h.template')
-rw-r--r--libnm/nm-enum-types.h.template23
1 files changed, 23 insertions, 0 deletions
diff --git a/libnm/nm-enum-types.h.template b/libnm/nm-enum-types.h.template
new file mode 100644
index 00000000..bc70af13
--- /dev/null
+++ b/libnm/nm-enum-types.h.template
@@ -0,0 +1,23 @@
+/*** BEGIN file-header ***/
+#ifndef __NM_ENUM_TYPES_H__
+#define __NM_ENUM_TYPES_H__
+
+#include "nm-core-enum-types.h"
+#
+#include <glib-object.h>
+
+G_BEGIN_DECLS
+
+/*** END file-header ***/
+
+/*** BEGIN enumeration-production ***/
+GType @enum_name@_get_type (void) G_GNUC_CONST;
+#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
+
+/*** END enumeration-production ***/
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+#endif /* __NM_ENUM_TYPES_H__ */
+/*** END file-tail ***/