fix warning

Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
zhouyongfei
2022-03-25 09:53:57 +00:00
parent f751dd382f
commit 5b5ef7d12b
101 changed files with 370 additions and 347 deletions
@@ -93,10 +93,12 @@ namespace MiscServices {
HIDE,
SHOW
};
enum class FunctionKey {
NONE = 0,
CONFIRM
};
class KeyboardInfo {
public:
KeyboardStatus GetKeyboardStatus() const
@@ -118,10 +120,11 @@ namespace MiscServices {
{
functionKey = static_cast<FunctionKey>(key);
}
private:
KeyboardStatus keyboardStatus = KeyboardStatus::NONE;
FunctionKey functionKey = FunctionKey::NONE;
};
}
}
#endif // FM_IMC_PROJECT_INPUT_METHOD_UTILS_H
} // namespace MiscServices
} // namespace OHOS
#endif // FRAMEWORKS_INPUTMETHOD_CONTROLLER_INCLUDE_INPUT_METHOD_UTILS_H