1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2025-04-29 13:03:08 +03:00
parent 554a414302
commit be2ebc8e56
2 changed files with 4 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class CFilesystemList;
class JsonNode;
/// Helper class that allows generation of a ISimpleResourceLoader entry out of Json config(s)
class DLL_LINKAGE CFilesystemGenerator
class DLL_LINKAGE CFilesystemGenerator : boost::noncopyable
{
using TLoadFunctor = std::function<void(const std::string &, const JsonNode &)>;
using TLoadFunctorMap = std::map<std::string, TLoadFunctor>;
@@ -38,6 +38,7 @@ public:
/// prefix = prefix that will be given to file entries in all nodes of this filesystem
/// extractArchives = Specifies if Original H3 archives should be extracted to a separate folder
CFilesystemGenerator(std::string prefix, bool extractArchives = false);
~CFilesystemGenerator();
/// loads configuration from json
/// config - configuration to load, using format of "filesystem" entry in config/filesystem.json