summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/CompilerKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-18 21:39:29 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-18 21:39:29 +0200
commitda70596895d8135e08f8caac6978117697b4c021 (patch)
tree2516785b5434df8453687f05dc8dd877438901ab /dev/ZKA/CompilerKit
parent005de79004c9d30e64bdee6e14e06f9d47d1f2ab (diff)
[REFACTOR]
Improved project structure. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.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.hxx4
3 files changed, 44 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..4cc25dae
--- /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 NEWOS_COPY_DELETE(KLASS) \
+ KLASS& operator=(const KLASS&) = delete; \
+ KLASS(const KLASS&) = delete;
+
+#define NEWOS_COPY_DEFAULT(KLASS) \
+ KLASS& operator=(const KLASS&) = default; \
+ KLASS(const KLASS&) = default;
+
+#define NEWOS_MOVE_DELETE(KLASS) \
+ KLASS& operator=(KLASS&&) = delete; \
+ KLASS(KLASS&&) = delete;
+
+#define NEWOS_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..c0d42603
--- /dev/null
+++ b/dev/ZKA/CompilerKit/Version.hxx
@@ -0,0 +1,4 @@
+#pragma once
+
+#define BOOTLOADER_VERSION L"v1.14.2"
+#define KERNEL_VERSION "v1.14.2"