mirror of
https://github.com/jakcron/nstool
synced 2024-12-26 22:51:11 +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;
|
||
|
};
|
||
|
}
|