summaryrefslogtreecommitdiffhomepage
path: root/Source/FilesystemIndexer.cxx
blob: 84c52890c5989a4d9a981e28d540cee4ea8b536a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 *	========================================================
 *
 *	hCore
 * 	Copyright 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; }
    }
}