/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
platform/localization.hpp
21 строка
570 B
Arsentiy Milchakov
[platform] measurement units localization is added
03 ноя 2020, 12:17
03 ноя 2020, 12:17
bec5b5d
Код
Авторство
О чём код?
#pragma once #include <string> namespace platform { struct LocalizedUnits { std::string m_low; std::string m_high; }; extern std::string GetLocalizedTypeName(std::string const & type); extern std::string GetLocalizedBrandName(std::string const & brand); extern std::string GetLocalizedString(std::string const & key); extern std::string GetCurrencySymbol(std::string const & currencyCode); extern LocalizedUnits GetLocalizedDistanceUnits(); extern LocalizedUnits GetLocalizedAltitudeUnits(); extern std::string GetLocalizedSpeedUnits(); } // namespace platform