2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
18 * @file FLcl_LocaleManagerImpl.h
19 * @brief This is the header file for _LocaleManagerImpl class.
22 #ifndef _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_
23 #define _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_
25 #include <FBaseString.h>
26 #include <FBaseColIList.h>
29 namespace U_ICU_NAMESPACE
31 class StringEnumeration;
34 namespace Tizen { namespace Locales
37 class _LocaleManagerImpl
38 : public Tizen::Base::Object
42 static Tizen::Locales::Locale GetSystemLocale(void);
43 static Tizen::Base::Collection::IList* GetAvailableLocalesN(void);
44 // Get available c-locale from file
45 static Tizen::Base::Collection::IMap* GetAvailableEglibcLocaesN(void);
47 static Tizen::Base::String GetSelectedLanguage(void);
48 static Tizen::Base::Collection::IList* GetAvailableLanguagesN(void);
49 static Tizen::Base::Collection::IList* GetAvailableLanguagesFallbackN(void);
51 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(void);
52 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(int rawOffset);
53 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesFallbackN(void);
55 static Tizen::Base::Collection::IMap* GetAvailableTimeZonesN(U_ICU_NAMESPACE::StringEnumeration* pIcuTZStrList);
57 static Tizen::Locales::TimeZone GetSystemTimeZone(void);
58 static result IsSupportedLocale(const Tizen::Locales::Locale& locale, bool& isSupportedLocale);
60 }; // _LocaleManagerImpl
64 #endif // _FLCL_INTERNAL_LOCALE_MANAGER_IMPL_H_