From 09dd11ddf800898c00ecb04a65fb5cd10fb481fa Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 8 May 2024 12:32:41 +0200 Subject: MHR-23: :boom: changes, reworked project tree. Signed-off-by: Amlal El Mahrouss --- NewKernel/CompilerKit/CompilerKit.hxx | 13 +++++++++++++ NewKernel/CompilerKit/Detail.hxx | 27 +++++++++++++++++++++++++++ NewKernel/CompilerKit/Version.hxx | 4 ++++ 3 files changed, 44 insertions(+) create mode 100644 NewKernel/CompilerKit/CompilerKit.hxx create mode 100644 NewKernel/CompilerKit/Detail.hxx create mode 100644 NewKernel/CompilerKit/Version.hxx (limited to 'NewKernel/CompilerKit') diff --git a/NewKernel/CompilerKit/CompilerKit.hxx b/NewKernel/CompilerKit/CompilerKit.hxx new file mode 100644 index 00000000..7bed48f9 --- /dev/null +++ b/NewKernel/CompilerKit/CompilerKit.hxx @@ -0,0 +1,13 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#ifndef _INC_CL_HPP +#define _INC_CL_HPP + +#include +#include + +#endif /* ifndef _INC_CL_HPP */ diff --git a/NewKernel/CompilerKit/Detail.hxx b/NewKernel/CompilerKit/Detail.hxx new file mode 100644 index 00000000..6e10c7f4 --- /dev/null +++ b/NewKernel/CompilerKit/Detail.hxx @@ -0,0 +1,27 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + +------------------------------------------- */ + +#pragma once + +#ifdef __KERNEL__ +#include +#endif // ifdef __KERNEL__ + +#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/NewKernel/CompilerKit/Version.hxx b/NewKernel/CompilerKit/Version.hxx new file mode 100644 index 00000000..c0d42603 --- /dev/null +++ b/NewKernel/CompilerKit/Version.hxx @@ -0,0 +1,4 @@ +#pragma once + +#define BOOTLOADER_VERSION L"v1.14.2" +#define KERNEL_VERSION "v1.14.2" -- cgit v1.2.3