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
e9157dd104
commit
61b85297e1
@ -54,7 +54,7 @@ private:
|
||||
static std::string GetOperateAction(OperateIMEInfoCode infoCode);
|
||||
|
||||
private:
|
||||
static std::map<std::string, int32_t> inputmethodBehaviour_;
|
||||
static std::map<int32_t, int32_t> inputmethodBehaviour_;
|
||||
static const std::map<int32_t, std::string> oprateInfo_;
|
||||
};
|
||||
} // namespace MiscServices
|
||||
|
@ -26,11 +26,11 @@ using HiSysEventNameSpace = OHOS::HiviewDFX::HiSysEvent;
|
||||
const std::string DOMAIN_STR = std::string(HiSysEventNameSpace::Domain::INPUTMETHOD);
|
||||
} // namespace
|
||||
|
||||
std::map<std::string, int> InputmethodSysevent::inputmethodBehaviour_ = {
|
||||
std::map<int32_t, int32_t> InputmethodSysevent::inputmethodBehaviour_ = {
|
||||
{START_IME, 0},
|
||||
{CHANGE_IME, 0}
|
||||
};
|
||||
const std::map<int32_t, std::string> InputmethodSysevent::oprateInfo_ ={
|
||||
const std::map<int32_t, std::string> InputmethodSysevent::oprateInfo_ = {
|
||||
{IME_SHOW_ATTACH, "attach, bind and show soft keyboard."},
|
||||
{IME_SHOW_ENEDITABLE, "enter editable state, show soft keyboard."},
|
||||
{IME_SHOW_NORMAL, "show soft keyboard."},
|
||||
|
Loading…
Reference in New Issue
Block a user