summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit/IndexableProperty.hxx
diff options
context:
space:
mode:
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