Tizen 2.1 base
[platform/framework/native/ime.git] / src / FUiIme_ImeInfo.h
1 //\r
2 // Open Service Platform\r
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.\r
4 //\r
5 // Licensed under the Apache License, Version 2.0 (the License);\r
6 // you may not use this file except in compliance with the License.\r
7 // You may obtain a copy of the License at\r
8 //\r
9 //     http://www.apache.org/licenses/LICENSE-2.0\r
10 //\r
11 // Unless required by applicable law or agreed to in writing, software\r
12 // distributed under the License is distributed on an "AS IS" BASIS,\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
14 // See the License for the specific language governing permissions and\r
15 // limitations under the License.\r
16 //\r
17 \r
18 /**\r
19  * @file FUiIme_ImeInfo.h\r
20  * @brief This is the header file for the %_ImeInfo class.\r
21  *\r
22  * This header file contains the declarations of the %_ImeInfo class.\r
23  */\r
24 \r
25 #ifndef _FUI_IME_INTERNAL_IME_INFO_H_\r
26 #define _FUI_IME_INTERNAL_IME_INFO_H_\r
27 \r
28 #define Uses_SCIM_TYPES\r
29 #undef null\r
30 #include <scim.h>\r
31 #define null 0\r
32 \r
33 #include <FBaseDataType.h>\r
34 \r
35 namespace Tizen { namespace Ui { namespace Ime {\r
36 \r
37 /**\r
38 * @class _ImeInfo\r
39 * @brief This class is a concrete class of the %_ImeInfo class.\r
40 * @since 2.0\r
41 *\r
42 */\r
43 class _ImeInfo\r
44 {\r
45 public:\r
46         ~_ImeInfo(void);\r
47 \r
48         static _ImeInfo* GetInstance(void);\r
49 \r
50         result Construct(const char* uuid, const char* name, const char* language);\r
51 \r
52         scim::String GetUuid(void) const;\r
53         scim::String GetName(void) const;\r
54         scim::String GetLanguage(void) const;\r
55 \r
56 private:\r
57         _ImeInfo(void);\r
58 \r
59         _ImeInfo(const _ImeInfo& rhs);\r
60         _ImeInfo& operator=(const _ImeInfo& rhs);\r
61 \r
62 private:\r
63         scim::String __uuid;\r
64         scim::String __name;\r
65         scim::String __language;\r
66 };\r
67 \r
68 }}} // Tizen::Ui::Ime\r
69 \r
70 #endif // _FUI_IME_INTERNAL_IME_INFO_H_\r