mirror of
https://github.com/jakcron/nstool.git
synced 2024-12-23 11:15:28 +00:00
23 lines
401 B
C
23 lines
401 B
C
|
#pragma once
|
||
|
#include <string>
|
||
|
#include <map>
|
||
|
|
||
|
namespace fnd
|
||
|
{
|
||
|
class ResourceFileReader
|
||
|
{
|
||
|
public:
|
||
|
ResourceFileReader();
|
||
|
|
||
|
void processFile(const std::string& path);
|
||
|
|
||
|
bool doesExist(const std::string& key) const;
|
||
|
const std::string& operator[](const std::string& key);
|
||
|
|
||
|
private:
|
||
|
const std::string kModuleName = "ResourceFileReader";
|
||
|
|
||
|
std::map<std::string,std::string> mResources;
|
||
|
};
|
||
|
}
|