1 // Copyright 2015 Samsung Electronics Co, Ltd. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef WRT_COMMON_LOCALE_MANAGER_H_
6 #define WRT_COMMON_LOCALE_MANAGER_H_
16 typedef std::map<std::string, std::string> StringMap;
19 virtual ~LocaleManager();
20 void SetDefaultLocale(const std::string& locale);
21 void EnableAutoUpdate(bool enable);
22 void UpdateSystemLocale();
23 const std::list<std::string>& system_locales() const
24 { return system_locales_; }
26 std::string GetLocalizedString(const StringMap& strmap);
29 std::string default_locale_;
30 std::list<std::string> system_locales_;
35 #endif // WRT_COMMON_LOCALE_MANAGER_H_