Tizen 2.1 base
[platform/framework/native/ime.git] / src / FUiIme_InputMethodInfoImpl.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_InputMethodInfoImpl.h\r
20  * @brief This is the header file for the %_InputMethodInfoImpl class.\r
21  *\r
22  * This header file contains the declarations of the %_InputMethodInfoImpl class.\r
23  */\r
24 \r
25 #ifndef _FUI_IME_INTERNAL_INPUT_METHOD_INFO_IMPL_H_\r
26 #define _FUI_IME_INTERNAL_INPUT_METHOD_INFO_IMPL_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 <FAppTypes.h>\r
34 #include <FBaseColArrayList.h>\r
35 #include <FBaseColIList.h>\r
36 #include <FBaseDataType.h>\r
37 #include <FBaseObject.h>\r
38 #include <FBaseString.h>\r
39 #include <FLclLocale.h>\r
40 #include <FUiImeInputMethodInfo.h>\r
41 \r
42 namespace Tizen { namespace Ui { namespace Ime {\r
43 \r
44 /**\r
45 * @class _InputMethodInfoImpl\r
46 * @brief This class is a concrete class of the %_InputMethodInfoImpl class.\r
47 * @since 2.0\r
48 *\r
49 */\r
50 class _InputMethodInfoImpl\r
51         : public Tizen::Base::Object\r
52 {\r
53 public:\r
54         virtual ~_InputMethodInfoImpl(void);\r
55 \r
56         static _InputMethodInfoImpl* CreateInputMethodInfoImplN(void);\r
57         static _InputMethodInfoImpl* CreateInputMethodInfoImplN(const _InputMethodInfoImpl& impl);\r
58 \r
59         static _InputMethodInfoImpl* GetInstance(InputMethodInfo& inputMethodInfo);\r
60 \r
61         _InputMethodInfoImpl& operator=(const _InputMethodInfoImpl& impl);\r
62         virtual bool Equals(const Object& object) const;\r
63 \r
64         Tizen::App::AppId GetAppId(void) const;\r
65         const Tizen::Base::Collection::IList* GetLanguageList(void) const;\r
66         Tizen::Base::String GetName(void) const;\r
67         const char* GetUuid(void) const;\r
68 \r
69         void SetAppId(Tizen::App::AppId id);\r
70         void SetUuid(Tizen::Base::String id);\r
71         result SetLanguageList(const Tizen::Base::Collection::IList& list);\r
72         void SetName(const Tizen::Base::String& name);\r
73         void SetName(const scim::String& name);\r
74 \r
75         result AddLanguage(const char* language);\r
76 \r
77 private:\r
78         _InputMethodInfoImpl(void);\r
79         _InputMethodInfoImpl(const _InputMethodInfoImpl& impl);\r
80 \r
81 private:\r
82         Tizen::App::AppId __appId;\r
83         Tizen::Base::String __uuid;\r
84         Tizen::Base::String __name;\r
85 \r
86         Tizen::Base::Collection::ArrayList* __pLanguageList;\r
87 \r
88         char* __pUuid;\r
89 };\r
90 \r
91 }}} // Tizen::Ui::Ime\r
92 \r
93 #endif // _FUI_IME_INTERNAL_INPUT_METHOD_INFO_IMPL_H_\r