// Copyright (c) 2023 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include "util/DawnTool.hpp" namespace Dawn { struct LanguageString { std::string key; std::string value; }; class LanguageGen : public DawnTool { protected: int32_t parseGroup( xml_t *node, std::string key, std::map> *strings ); int32_t parseString( xml_t *node, std::string key, std::map> *strings ); public: LanguageGen(const int argc, const char *argv[]); int32_t start() override; }; }