You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
480 B
22 lines
480 B
/* PlipConfig.h |
|
* |
|
* A configuration system for Plip and its cores. |
|
*/ |
|
|
|
#pragma once |
|
|
|
#include <string> |
|
#include <unordered_map> |
|
|
|
namespace Plip { |
|
class PlipConfig { |
|
public: |
|
virtual const std::string& GetOption(const std::string &key) final; |
|
virtual void SetOption(const std::string &key, const std::string &value) final; |
|
|
|
const std::string empty = "\xff"; |
|
|
|
private: |
|
std::unordered_map<std::string, std::string> m_config {}; |
|
}; |
|
}
|
|
|