Merge "Update deprecated libprivilege-control API functions." into tizen
[platform/framework/native/appfw.git] / src / locales / FLcl_NumberSymbolsImpl.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
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
7 //
8 // http://www.apache.org/licenses/LICENSE-2.0
9 //
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.
15 //
16
17 /**
18  * @file        FLcl_NumberSymbolsImpl.h
19  * @brief       This is the header file for the _NumberSymbolsImpl class.
20  *
21  * This header file contains declarations of the _NumberSymbolsImpl class.
22  *
23  */
24 #ifndef _FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
25 #define _FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
26
27 // Includes
28 #include <unicode/dcfmtsym.h>
29 #include <FLclNumberSymbols.h>
30
31
32 namespace Tizen { namespace Locales
33 {
34
35 class _NumberSymbolsImpl
36         : public Tizen::Base::Object
37 {
38 public:
39         _NumberSymbolsImpl(void);
40         virtual ~_NumberSymbolsImpl(void);
41
42         _NumberSymbolsImpl(const _NumberSymbolsImpl& other);
43         _NumberSymbolsImpl& operator =(const _NumberSymbolsImpl& other);
44
45 public:
46         result Construct(const Locale& locale);
47         Tizen::Base::String GetNumberSymbol(NumberSymbol symbol) const;
48         result SetNumberSymbol(NumberSymbol symbol, const Tizen::Base::String& str);
49         const Locale* GetLocale(void) const;
50
51 private:
52         Locale __locale;
53         U_ICU_NAMESPACE::DecimalFormatSymbols* __pIcuDecimalFormatSymbols;
54
55 }; // _NumberSymbolsImpl
56
57 }} // Tizen::Locales
58
59 #endif //_FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
60