sync with tizen_2.0
[platform/framework/native/appfw.git] / src / locales / FLcl_NumberSymbolsImpl.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
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
8 //
9 // http://www.apache.org/licenses/LICENSE-2.0
10 //
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.
16 //
17
18 /**
19  * @file        FLcl_NumberSymbolsImpl.h
20  * @brief       This is the header file for the _NumberSymbolsImpl class.
21  *
22  * This header file contains declarations of the _NumberSymbolsImpl class.
23  *
24  */
25 #ifndef _FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
26 #define _FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
27
28 // Includes
29 #include <FLclLocale.h>
30 #include <FLclNumberSymbols.h>
31
32
33 namespace Tizen { namespace Locales
34 {
35
36 class _NumberSymbolsImpl
37         : public Tizen::Base::Object
38 {
39 // Construct Operations
40 public:
41         _NumberSymbolsImpl(void);
42         virtual ~_NumberSymbolsImpl(void);
43
44         _NumberSymbolsImpl(const _NumberSymbolsImpl& other);
45         _NumberSymbolsImpl& operator =(const _NumberSymbolsImpl& other);
46
47
48 // Operations
49 public:
50         result Construct(const Locale& locale);
51         Tizen::Base::String GetNumberSymbol(NumberSymbol symbol) const;
52         result SetNumberSymbol(NumberSymbol symbol, const Tizen::Base::String& str);
53         const Locale* GetLocale(void) const;
54
55
56 // Attribute
57 private:
58         Locale __locale;
59         Tizen::Base::String __symbols[NUMBER_SYMBOL_COUNT];
60
61 }; // _NumberSymbolsImpl
62
63 }} // Tizen::Locales
64
65 #endif //_FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
66