summaryrefslogtreecommitdiff
path: root/common/rawaccel-version.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/rawaccel-version.h')
-rw-r--r--common/rawaccel-version.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/common/rawaccel-version.h b/common/rawaccel-version.h
new file mode 100644
index 0000000..9470ca0
--- /dev/null
+++ b/common/rawaccel-version.h
@@ -0,0 +1,26 @@
+#pragma once
+
+#define RA_VER_MAJOR 1
+#define RA_VER_MINOR 3
+#define RA_VER_PATCH 0
+
+#define RA_MIN_OS "Win7"
+
+#define M_STR_HELPER(x) #x
+#define M_STR(x) M_STR_HELPER(x)
+
+#define RA_VER_STRING M_STR(RA_VER_MAJOR) "." M_STR(RA_VER_MINOR) "." M_STR(RA_VER_PATCH)
+
+namespace rawaccel {
+
+ struct version_t {
+ int major;
+ int minor;
+ int patch;
+ };
+
+#ifndef _KERNEL_MODE
+ inline constexpr version_t min_driver_version = { 1, 3, 0 };
+#endif
+
+}