2 // Open Service Platform
\r
3 // Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
\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
9 // http://www.apache.org/licenses/LICENSE-2.0
\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
19 * @file FUiIme_ImeInfo.cpp
\r
20 * @brief This is the implementation file for the %_ImeInfo class.
\r
22 * This implementation file contains definition of the %_ImeInfo class.
\r
25 #include <FBaseSysLog.h>
\r
27 #include "FUiIme_ImeInfo.h"
\r
32 #endif // __cplusplus
\r
35 InitImeInfo(const char* uuid, const char* name, const char* language)
\r
37 result r = E_SUCCESS;
\r
39 r = Tizen::Ui::Ime::_ImeInfo::GetInstance()->Construct(uuid, name, language);
\r
40 SysTryLog(NID_UI_IME, r == E_SUCCESS, "Initializing _ImeInfo has failed.");
\r
47 #endif // __cplusplus
\r
49 namespace Tizen { namespace Ui { namespace Ime {
\r
51 _ImeInfo::_ImeInfo(void)
\r
59 _ImeInfo::~_ImeInfo(void)
\r
65 _ImeInfo::GetInstance(void)
\r
67 static _ImeInfo imeInfo;
\r
73 _ImeInfo::Construct(const char* uuid, const char* name, const char* language)
\r
75 result r = E_SUCCESS;
\r
79 __language = language;
\r
81 SysLog(NID_UI_IME, "The _ImeInfo has been constructed. The uuid is %s, the name is %s, and the language is %s.", uuid, name, language);
\r
87 _ImeInfo::GetUuid(void) const
\r
93 _ImeInfo::GetName(void) const
\r
99 _ImeInfo::GetLanguage(void) const
\r
104 }}} // Tizen::Ui::Ime
\r