Merge "Revert "Fix prevent defect for locales"" into tizen_2.2
[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 <FLclLocale.h>
29 #include <FLclNumberSymbols.h>
30
31
32 namespace Tizen { namespace Locales
33 {
34
35 class _NumberSymbolsImpl
36         : public Tizen::Base::Object
37 {
38 // Construct Operations
39 public:
40         _NumberSymbolsImpl(void);
41         virtual ~_NumberSymbolsImpl(void);
42
43         _NumberSymbolsImpl(const _NumberSymbolsImpl& other);
44         _NumberSymbolsImpl& operator =(const _NumberSymbolsImpl& other);
45
46
47 // Operations
48 public:
49         result Construct(const Locale& locale);
50         Tizen::Base::String GetNumberSymbol(NumberSymbol symbol) const;
51         result SetNumberSymbol(NumberSymbol symbol, const Tizen::Base::String& str);
52         const Locale* GetLocale(void) const;
53
54
55 // Attribute
56 private:
57         Locale __locale;
58         Tizen::Base::String __symbols[NUMBER_SYMBOL_COUNT];
59
60 }; // _NumberSymbolsImpl
61
62 }} // Tizen::Locales
63
64 #endif //_FLCL_INTERNAL_NUMBER_SYMBOLS_IMPL_H_
65