|
|
@ -58,6 +58,11 @@ namespace VFS
|
|
|
|
class Manager;
|
|
|
|
class Manager;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
namespace Fallback
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
class Map;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace ESM
|
|
|
|
namespace ESM
|
|
|
|
{
|
|
|
|
{
|
|
|
|
class ESMReader;
|
|
|
|
class ESMReader;
|
|
|
@ -104,6 +109,7 @@ namespace CSMWorld
|
|
|
|
IdCollection<ESM::Filter> mFilters;
|
|
|
|
IdCollection<ESM::Filter> mFilters;
|
|
|
|
Collection<MetaData> mMetaData;
|
|
|
|
Collection<MetaData> mMetaData;
|
|
|
|
const ResourcesManager& mResourcesManager;
|
|
|
|
const ResourcesManager& mResourcesManager;
|
|
|
|
|
|
|
|
const Fallback::Map* mFallbackMap;
|
|
|
|
std::vector<QAbstractItemModel *> mModels;
|
|
|
|
std::vector<QAbstractItemModel *> mModels;
|
|
|
|
std::map<UniversalId::Type, QAbstractItemModel *> mModelIndex;
|
|
|
|
std::map<UniversalId::Type, QAbstractItemModel *> mModelIndex;
|
|
|
|
ESM::ESMReader *mReader;
|
|
|
|
ESM::ESMReader *mReader;
|
|
|
@ -132,12 +138,14 @@ namespace CSMWorld
|
|
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
|
|
Data (ToUTF8::FromType encoding, const ResourcesManager& resourcesManager);
|
|
|
|
Data (ToUTF8::FromType encoding, const ResourcesManager& resourcesManager, const Fallback::Map* fallback);
|
|
|
|
|
|
|
|
|
|
|
|
virtual ~Data();
|
|
|
|
virtual ~Data();
|
|
|
|
|
|
|
|
|
|
|
|
const VFS::Manager* getVFS() const;
|
|
|
|
const VFS::Manager* getVFS() const;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const Fallback::Map* getFallbackMap() const;
|
|
|
|
|
|
|
|
|
|
|
|
boost::shared_ptr<Resource::ResourceSystem> getResourceSystem();
|
|
|
|
boost::shared_ptr<Resource::ResourceSystem> getResourceSystem();
|
|
|
|
|
|
|
|
|
|
|
|
boost::shared_ptr<const Resource::ResourceSystem> getResourceSystem() const;
|
|
|
|
boost::shared_ptr<const Resource::ResourceSystem> getResourceSystem() const;
|
|
|
|