Mercurial > minori
diff include/gui/translate/config.h @ 279:657fda1b9cac
*: clean up enums
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Fri, 19 Apr 2024 13:24:06 -0400 |
parents | 3ec7804abf17 |
children | b1f625b0227c |
line wrap: on
line diff
--- a/include/gui/translate/config.h Thu Apr 18 17:24:42 2024 -0400 +++ b/include/gui/translate/config.h Fri Apr 19 13:24:06 2024 -0400 @@ -1,13 +1,14 @@ #ifndef MINORI_GUI_TRANSLATE_CONFIG_H_ #define MINORI_GUI_TRANSLATE_CONFIG_H_ -#include "core/config.h" +#include "gui/theme.h" namespace Translate { -Themes ToTheme(const std::string& theme); -std::string ToString(const Themes& theme); +Theme::Theme ToTheme(const std::string& theme); +std::string ToString(const Theme::Theme& theme); +std::string ToLocalString(const Theme::Theme& theme); } // namespace Translate -#endif // MINORI_GUI_TRANSLATE_CONFIG_H_ \ No newline at end of file +#endif // MINORI_GUI_TRANSLATE_CONFIG_H_