summaryrefslogtreecommitdiff
path: root/libsecret/secret-enum-types.h.template
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-07-13 10:32:36 +0200
committerStef Walter <stefw@gnome.org>2012-07-13 10:40:25 +0200
commit5cc30b2b68f551506bd9bbbe1306a24009e14eca (patch)
treec1695c2920e4cf8645ab6b4f7dc05a9514bb8356 /libsecret/secret-enum-types.h.template
parent931f677c7ac8af0a6ebed2e3ef7472a7076bc8be (diff)
downloadlibsecret-5cc30b2b68f551506bd9bbbe1306a24009e14eca.tar.gz
Rename the library subdirectory to libsecret
* Death by a thousand paper cuts from gir and vapi not liking the fact that the secret.h file was not usable uninstalled and installed in the same way.
Diffstat (limited to 'libsecret/secret-enum-types.h.template')
-rw-r--r--libsecret/secret-enum-types.h.template28
1 files changed, 28 insertions, 0 deletions
diff --git a/libsecret/secret-enum-types.h.template b/libsecret/secret-enum-types.h.template
new file mode 100644
index 0000000..421524e
--- /dev/null
+++ b/libsecret/secret-enum-types.h.template
@@ -0,0 +1,28 @@
+/*** BEGIN file-header ***/
+#if !defined (__SECRET_INSIDE_HEADER__) && !defined (SECRET_COMPILATION)
+#error "Only <secret/secret.h> can be included directly."
+#endif
+
+#ifndef __SECRET_ENUM_TYPES_H__
+#define __SECRET_ENUM_TYPES_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) G_GNUC_CONST;
+#define @ENUMPREFIX@_TYPE_@ENUMSHORT@ (@enum_name@_get_type ())
+/*** END value-header ***/
+
+/*** BEGIN file-tail ***/
+G_END_DECLS
+
+#endif /* __SECRET_ENUM_TYPES_H__ */
+/*** END file-tail ***/