2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
9 // http://www.apache.org/licenses/LICENSE-2.0
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
19 * @file FLcl_LocaleManagerImpl.h
20 * @brief This is the header file for _LocaleManagerImpl class.
23 #ifndef _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_
24 #define _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_
26 #include <FBaseString.h>
27 #include <FBaseColIList.h>
30 namespace U_ICU_NAMESPACE
32 class StringEnumeration;
35 namespace Tizen { namespace Locales
38 class _LocaleManagerImpl
39 : public Tizen::Base::Object
43 static Tizen::Locales::Locale GetSystemLocale(void);
44 static Tizen::Base::Collection::IList* GetAvailableLocalesN(void);
46 static Tizen::Base::String GetSelectedLanguage(void);
47 static Tizen::Base::Collection::IList* GetAvailableLanguagesN(void);
48 static Tizen::Base::Collection::IList* GetAvailableLanguagesFallbackN(void);
50 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(void);
51 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(int rawOffset);
52 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesFallbackN(void);
54 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(U_ICU_NAMESPACE::StringEnumeration* pIcuTZStrList);
56 static Tizen::Locales::TimeZone GetSystemTimeZone(void);
57 static result IsSupportedLocale(const Tizen::Locales::Locale& locale, bool& isSupportedLocale);
59 }; // _LocaleManagerImpl
63 #endif // _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_