summaryrefslogtreecommitdiffstats
path: root/core/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/version.h')
-rw-r--r--core/version.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/core/version.h b/core/version.h
new file mode 100644
index 000000000..0a3204bd9
--- /dev/null
+++ b/core/version.h
@@ -0,0 +1,19 @@
+#ifndef VERSION_H
+#define VERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *subsurface_git_version(void);
+const char *subsurface_canonical_version(void);
+
+#ifdef SUBSURFACE_MOBILE
+const char *subsurface_mobile_version(void);
+#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif