This commit is contained in:
A-lex-Ra 2023-12-25 20:30:05 +06:00
commit 4d8c8563cc
47 changed files with 823 additions and 197 deletions

View file

@ -60,6 +60,7 @@ std::string platform::detect_locale() {
}
#else
void platform::configure_encoding(){
}

View file

@ -2,12 +2,9 @@
#define UTIL_PLATFORM_H_
#include <string>
#include <filesystem>
namespace platform {
extern void configure_encoding();
extern std::filesystem::path get_settings_file();
extern std::filesystem::path get_controls_file();
extern std::string detect_locale();
extern std::string get_locale_by_lang(std::string lang);
}