summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit/IndexableProperty.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-04 10:59:24 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-04 10:59:24 +0100
commite2bbec91d70847cc5a2ff67eb84ca4a3c2d03e85 (patch)
tree1e7fec7c232b0c750157007113ce8f86d43b7e76 /Private/FSKit/IndexableProperty.hxx
parentaff54fd3dc6855b62c047f126c6fe20ca717ee0f (diff)
Kernel: Depend less on NewFS, add support for FileSystem protocol in
NewBoot. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/FSKit/IndexableProperty.hxx')
-rw-r--r--Private/FSKit/IndexableProperty.hxx66
1 files changed, 32 insertions, 34 deletions
diff --git a/Private/FSKit/IndexableProperty.hxx b/Private/FSKit/IndexableProperty.hxx
index 3eddf5e1..553eb945 100644
--- a/Private/FSKit/IndexableProperty.hxx
+++ b/Private/FSKit/IndexableProperty.hxx
@@ -10,39 +10,37 @@
#pragma once
#include <CFKit/Property.hpp>
+#include <CompilerKit/CompilerKit.hpp>
#include <KernelKit/DriveManager.hpp>
-namespace HCore
-{
- namespace Indexer
- {
- struct IndexProperty final
- {
- public:
- Char Drive[kDriveNameLen];
- Char Path[256];
- Char From[256];
- Char To[256];
-
- };
-
- class IndexableProperty final : public Property
- {
- public:
- explicit IndexableProperty() : Property(StringBuilder::Construct("IndexableProperty").Leak().Leak()) {}
- ~IndexableProperty() override = default;
-
- public:
- IndexProperty& LeakProperty() noexcept;
-
- public:
- void AddFlag(Int16 flag);
- void RemoveFlag(Int16 flag);
-
- private:
- IndexProperty fIndex;
- UInt32 fFlags;
-
- };
- }
-}
+namespace HCore {
+namespace Indexer {
+struct IndexProperty final {
+ public:
+ Char Drive[kDriveNameLen];
+ Char Path[256];
+ Char From[256];
+ Char To[256];
+};
+
+class IndexableProperty final : public Property {
+ public:
+ explicit IndexableProperty()
+ : Property(StringBuilder::Construct("IndexableProperty").Leak().Leak()) {}
+ ~IndexableProperty() override = default;
+
+ HCORE_COPY_DEFAULT(IndexableProperty);
+
+ public:
+ IndexProperty& LeakProperty() noexcept;
+
+ public:
+ void AddFlag(Int16 flag);
+ void RemoveFlag(Int16 flag);
+
+ private:
+ IndexProperty fIndex;
+ UInt32 fFlags;
+};
+} // namespace Indexer
+} // namespace HCore