LeviLamina
Loading...
Searching...
No Matches
FlatFileManifestTracker.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class FlatFileManifest; }
8namespace Core { class PathView; }
9// clang-format on
10
11namespace Core {
12
13class FlatFileManifestTracker {
14public:
15 // member variables
16 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 FlatFileManifestTracker& operator=(FlatFileManifestTracker const&);
25 FlatFileManifestTracker(FlatFileManifestTracker const&);
26 FlatFileManifestTracker();
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCNAPI ::std::shared_ptr<::Core::FlatFileManifest const> loadManifest(::Core::PathView manifestPath);
32
33 MCNAPI bool manifestExists(::Core::PathView manifestPath) const;
34
35 MCNAPI bool tryUnloadManifest(::Core::PathView manifestPath);
36
37 MCNAPI void unloadAllManifests();
38
39 MCNAPI void updateManifest(::std::shared_ptr<::Core::FlatFileManifest> manifest, bool keepCached);
40
42 // NOLINTEND
43
44public:
45 // destructor thunk
46 // NOLINTBEGIN
47 MCNAPI void $dtor();
48 // NOLINTEND
49};
50
51} // namespace Core
MCAPI ::std::shared_ptr<::Core::FlatFileManifest const > loadManifest(::Core::PathView manifestPath)
MCAPI bool tryUnloadManifest(::Core::PathView manifestPath)
MCAPI void updateManifest(::std::shared_ptr<::Core::FlatFileManifest > manifest, bool keepCached)
MCAPI bool manifestExists(::Core::PathView manifestPath) const
Definition FlatFileManifest.h:18
Definition PathView.h:19
Definition Alias.h:14