mirror of
https://github.com/jakcron/nstool
synced 2024-11-27 07:59: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;
|
||
|
};
|
||
|
}
|