1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-10-15 03:26:35 +00:00
openmw/components/vfs/registerarchives.hpp
2025-07-03 08:46:23 +02:00

20 lines
540 B
C++

#ifndef OPENMW_COMPONENTS_VFS_REGISTER_ARCHIVES_H
#define OPENMW_COMPONENTS_VFS_REGISTER_ARCHIVES_H
#include <components/files/collections.hpp>
namespace ToUTF8
{
class StatelessUtf8Encoder;
}
namespace VFS
{
class Manager;
/// @brief Register BSA and file system archives based on the given OpenMW configuration.
void registerArchives(VFS::Manager* vfs, const Files::Collections& collections,
const std::vector<std::string>& archives, bool useLooseFiles, const ToUTF8::StatelessUtf8Encoder* encoder);
}
#endif