summaryrefslogtreecommitdiffhomepage
path: root/dev/zka/CompilerKit
diff options
context:
space:
mode:
authorAmlal <amlal@el-mahrouss-logic.com>2024-09-22 17:46:11 +0200
committerAmlal <amlal@el-mahrouss-logic.com>2024-09-22 17:46:11 +0200
commit8719b4570a2d10dd49a0d3a47e24f5c55bdda85e (patch)
treeba095740888f3768e08b2ea058b0ea6da2d0403d /dev/zka/CompilerKit
parent45944b3d2dab04b763fcc6d10164fe8069e60b08 (diff)
:boom: A big refactor on the filesystem structure.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/zka/CompilerKit')
-rw-r--r--dev/zka/CompilerKit/CompilerKit.hxx13
-rw-r--r--dev/zka/CompilerKit/Detail.hxx27
-rw-r--r--dev/zka/CompilerKit/Version.hxx5
3 files changed, 45 insertions, 0 deletions
diff --git a/dev/zka/CompilerKit/CompilerKit.hxx b/dev/zka/CompilerKit/CompilerKit.hxx
new file mode 100644
index 00000000..f2ec4db2
--- /dev/null
+++ b/dev/zka/CompilerKit/CompilerKit.hxx
@@ -0,0 +1,13 @@
+/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+------------------------------------------- */
+
+#ifndef _INC_CL_HPP
+#define _INC_CL_HPP
+
+#include <CompilerKit/Detail.hxx>
+#include <CompilerKit/Version.hxx>
+
+#endif /* ifndef _INC_CL_HPP */
diff --git a/dev/zka/CompilerKit/Detail.hxx b/dev/zka/CompilerKit/Detail.hxx
new file mode 100644
index 00000000..d0b8d153
--- /dev/null
+++ b/dev/zka/CompilerKit/Detail.hxx
@@ -0,0 +1,27 @@
+/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+------------------------------------------- */
+
+#pragma once
+
+#ifdef __NEWOSKRNL__
+#include <NewKit/Defines.hxx>
+#endif // ifdef __NEWOSKRNL__
+
+#define ZKA_COPY_DELETE(KLASS) \
+ KLASS& operator=(const KLASS&) = delete; \
+ KLASS(const KLASS&) = delete;
+
+#define ZKA_COPY_DEFAULT(KLASS) \
+ KLASS& operator=(const KLASS&) = default; \
+ KLASS(const KLASS&) = default;
+
+#define ZKA_MOVE_DELETE(KLASS) \
+ KLASS& operator=(KLASS&&) = delete; \
+ KLASS(KLASS&&) = delete;
+
+#define ZKA_MOVE_DEFAULT(KLASS) \
+ KLASS& operator=(KLASS&&) = default; \
+ KLASS(KLASS&&) = default;
diff --git a/dev/zka/CompilerKit/Version.hxx b/dev/zka/CompilerKit/Version.hxx
new file mode 100644
index 00000000..83f7f534
--- /dev/null
+++ b/dev/zka/CompilerKit/Version.hxx
@@ -0,0 +1,5 @@
+#pragma once
+
+/// <COMMIT NUMBER>.<YEAR>.<PROGRAM VERSION>
+#define BOOTLOADER_VERSION "843.2024.1"
+#define KERNEL_VERSION "843.2024.1"