LeviLamina
Loading...
Searching...
No Matches
IPackIOProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/resource/ResourceFileSystem.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class I18n;
12class IFileAccess;
13namespace Core { class FileHandlePool; }
14namespace Core { class Path; }
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ~IPackIOProvider() = default;
22
23 virtual ::Bedrock::NotNullNonOwnerPtr<::IFileAccess> getFileAccess(::ResourceFileSystem system) const = 0;
24
25 virtual ::std::function<::std::string(::Core::Path const&)> getAssetReader() const = 0;
26
27 virtual ::Core::Path getOnDiskScratchPath() const = 0;
28
29 virtual ::std::unique_ptr<::IPackIOProvider> clone() const = 0;
30
31 virtual ::std::shared_ptr<::Core::FileHandlePool> getArchiveHandlePool() const = 0;
32
33 virtual ::I18n& getLoc() const = 0;
34 // NOLINTEND
35};
Definition FileHandlePool.h:14
Definition Path.h:11
Definition I18n.h:19
Definition IFileAccess.h:15
Definition IPackIOProvider.h:17