summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit
diff options
context:
space:
mode:
Diffstat (limited to 'Private/FSKit')
-rw-r--r--Private/FSKit/NewFSIteratorInterface.hxx51
1 files changed, 0 insertions, 51 deletions
diff --git a/Private/FSKit/NewFSIteratorInterface.hxx b/Private/FSKit/NewFSIteratorInterface.hxx
deleted file mode 100644
index d0d35c76..00000000
--- a/Private/FSKit/NewFSIteratorInterface.hxx
+++ /dev/null
@@ -1,51 +0,0 @@
-/* -------------------------------------------
-
- Copyright Mahrouss Logic
-
-------------------------------------------- */
-
-#pragma once
-
-#include <FSKit/IndexableProperty.hxx>
-#include <NewKit/MutableArray.hpp>
-
-namespace NewOS {
-namespace Indexer {
-class NewFSIteratorInterface;
-
-using IndexElement = VoidPtr;
-
-///
-/// @name NewFSIteratorInterface
-/// @brief Stores relevant information for file indexing.
-///
-
-class NewFSIteratorInterface {
- public:
- explicit NewFSIteratorInterface() = default;
- virtual ~NewFSIteratorInterface() = default;
-
- public:
- NEWOS_COPY_DEFAULT(NewFSIteratorInterface);
-
- public:
- void Append(IndexableProperty& indexProp) { fProps.Add(indexProp); }
-
- MutableArray<IndexableProperty>& Leak() { return fProps; }
-
- Boolean Find(IndexProperty& filters) {
- for (size_t i = 0; i < fProps.Count(); ++i) {
- if (StringBuilder::Equals(fProps[i].Leak().LeakProperty().Path,
- filters.Path)) {
- return i;
- }
- }
-
- return 0;
- }
-
- private:
- MutableArray<IndexableProperty> fProps;
-};
-} // namespace Indexer
-} // namespace NewOS