18 #ifndef INCLUDED_CACHELOADER
19 #define INCLUDED_CACHELOADER
74 #endif // INCLUDED_CACHELOADER
std::wstring m_FileExtension
VfsPath LooseCachePath(const VfsPath &sourcePath, const MD5 &initialHash, u32 version)
Return the path of the loose cache for the given source file.
VfsPath ArchiveCachePath(const VfsPath &sourcePath)
Return the path of the archive cache for the given source file.
i64 Status
Error handling system.
CCacheLoader(PIVFS vfs, const std::wstring &fileExtension)
bool CanUseArchiveCache(const VfsPath &sourcePath, const VfsPath &archiveCachePath)
Determines whether we can safely use the archived cache file, or need to re-convert the source file...
Status TryLoadingCached(const VfsPath &sourcePath, const MD5 &initialHash, u32 version, VfsPath &loadPath)
Attempts to find a valid cached which can be loaded.
Helper class for systems that have an expensive cacheable conversion process when loading files...