2022-11-05 18:07:20 +01:00
|
|
|
#include <map>
|
|
|
|
#include <string>
|
|
|
|
namespace mappings {
|
|
|
|
class Mappings {
|
|
|
|
std::map<std::string, std::string> mappings;
|
|
|
|
std::map<std::string, std::string> renames;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Mappings(std::map<std::string, std::string> mappings,
|
|
|
|
std::map<std::string, std::string> renames) {
|
|
|
|
this->mappings = mappings;
|
|
|
|
this->renames = renames;
|
|
|
|
}
|
2022-11-05 18:32:10 +01:00
|
|
|
~Mappings() = default;
|
2022-11-05 18:07:20 +01:00
|
|
|
static Mappings load();
|
|
|
|
std::string map(std::string inp);
|
|
|
|
};
|
|
|
|
} // namespace mappings
|