1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-25 21:27:45 +00:00
novus/common/include/filecache.h

18 lines
289 B
C
Raw Normal View History

#pragma once
#include <physis.hpp>
#include <QString>
#include <QMap>
struct GameData;
class FileCache {
public:
explicit FileCache(GameData& data);
physis_Buffer& lookupFile(const QString& path);
private:
QMap<QString, physis_Buffer> cachedBuffers;
GameData& data;
};