summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/IndexableProperty.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 10:26:31 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-27 10:26:31 +0100
commit70e95128b11dbb535e4679cbacb1cbeaa414c822 (patch)
tree42fd94536a54058a39f0c85be99431c6ad1a0cf8 /Private/Source/IndexableProperty.cxx
parent44a081a4442181b208c09c6f748124c9d23b61fd (diff)
Kernel: Improving AMD64 HAL, Add TIBInstall.asm, currently Working on
SMPManager and Bootloader. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/Source/IndexableProperty.cxx')
-rw-r--r--Private/Source/IndexableProperty.cxx28
1 files changed, 28 insertions, 0 deletions
diff --git a/Private/Source/IndexableProperty.cxx b/Private/Source/IndexableProperty.cxx
new file mode 100644
index 00000000..bb1393b5
--- /dev/null
+++ b/Private/Source/IndexableProperty.cxx
@@ -0,0 +1,28 @@
+/*
+ * ========================================================
+ *
+ * hCore
+ * Copyright 2024 Mahrouss Logic, all rights reserved.
+ *
+ * ========================================================
+ */
+
+//! @brief hCore NewFS Indexer.
+
+#include <FSKit/FilesystemIndexer.hxx>
+#include <CompilerKit/Compiler.hpp>
+#include <NewKit/MutableArray.hpp>
+#include <NewKit/Utils.hpp>
+
+#define kMaxLenIndexer 256
+
+namespace hCore
+{
+ namespace Indexer
+ {
+ IndexProperty& IndexableProperty::LeakProperty() noexcept { return fIndex; }
+
+ void IndexableProperty::AddFlag(Int16 flag) { fFlags |= flag; }
+ void IndexableProperty::RemoveFlag(Int16 flag) { fFlags &= flag; }
+ }
+}