1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 21:49:56 +00:00
openmw-tes3mp/apps/opencs/model/world/resourcesmanager.hpp

33 lines
529 B
C++
Raw Normal View History

2014-07-04 10:46:57 +00:00
#ifndef CSM_WOLRD_RESOURCESMANAGER_H
#define CSM_WOLRD_RESOURCESMANAGER_H
#include <map>
#include "universalid.hpp"
#include "resources.hpp"
namespace VFS
{
class Manager;
}
2014-07-04 10:46:57 +00:00
namespace CSMWorld
{
class ResourcesManager
{
std::map<UniversalId::Type, Resources> mResources;
2014-07-07 13:20:05 +00:00
private:
void addResources (const Resources& resources);
2014-07-04 10:46:57 +00:00
public:
void setVFS(const VFS::Manager* vfs);
2014-07-04 10:46:57 +00:00
const Resources& get (UniversalId::Type type) const;
};
}
#endif