mirror of
https://gitee.com/openharmony/inputmethod_imf
synced 2024-11-24 07:09:58 +00:00
Signed-off-by: ma-shaoyin <mashaoyin1@huawei.com>
Changes to be committed:
This commit is contained in:
parent
31fb359c09
commit
21a48c631b
@ -43,7 +43,7 @@ public:
|
||||
static void OperateSoftkeyboardBehaviour(OperateIMEInfoCode infoCode);
|
||||
|
||||
private:
|
||||
static std::string GetOperateInfo(OperateIMEInfoCode infoCode);
|
||||
static const std::string GetOperateInfo(OperateIMEInfoCode infoCode);
|
||||
static std::string GetOperateAction(OperateIMEInfoCode infoCode);
|
||||
|
||||
private:
|
||||
|
@ -74,12 +74,11 @@ void InputMethodSysEvent::OperateSoftkeyboardBehaviour(OperateIMEInfoCode infoCo
|
||||
}
|
||||
}
|
||||
|
||||
std::string InputMethodSysEvent::GetOperateInfo(OperateIMEInfoCode infoCode)
|
||||
const std::string InputMethodSysEvent::GetOperateInfo(OperateIMEInfoCode infoCode)
|
||||
{
|
||||
auto iter = operateInfo_.find(infoCode);
|
||||
if (iter != operateInfo_.end()) {
|
||||
std::string info = iter->second;
|
||||
return info;
|
||||
return iter->second;
|
||||
}
|
||||
return "unknow operating.";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user