18 #ifndef INCLUDED_CACHELOADER 19 #define INCLUDED_CACHELOADER 74 #endif // INCLUDED_CACHELOADER std::wstring m_FileExtension
Definition: CacheLoader.h:71
VfsPath LooseCachePath(const VfsPath &sourcePath, const MD5 &initialHash, u32 version)
Return the path of the loose cache for the given source file.
Definition: CacheLoader.cpp:117
shared_ptr< IVFS > PIVFS
Definition: vfs.h:226
PIVFS m_VFS
Definition: CacheLoader.h:70
uint32_t u32
Definition: types.h:39
MD5 hashing algorithm.
Definition: MD5.h:27
VfsPath ArchiveCachePath(const VfsPath &sourcePath)
Return the path of the archive cache for the given source file.
Definition: CacheLoader.cpp:112
i64 Status
Error handling system.
Definition: status.h:171
CCacheLoader(PIVFS vfs, const std::wstring &fileExtension)
Definition: CacheLoader.cpp:27
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...
Definition: CacheLoader.cpp:71
Definition: vfs_util.cpp:39
Status TryLoadingCached(const VfsPath &sourcePath, const MD5 &initialHash, u32 version, VfsPath &loadPath)
Attempts to find a valid cached which can be loaded.
Definition: CacheLoader.cpp:32
Helper class for systems that have an expensive cacheable conversion process when loading files...
Definition: CacheLoader.h:40