mirror of
https://github.com/openharmony/miscservices_inputmethod.git
synced 2026-07-20 23:45:31 -04:00
新增获取输入法列表和显示选择输入法对话框功能
Signed-off-by: zhouyongfei <zhouyongfei@huawei.com>
This commit is contained in:
@@ -66,6 +66,8 @@ namespace MiscServices {
|
||||
void OnSelectionChange(std::u16string text, int start, int end);
|
||||
void OnConfigurationChange(Configuration info);
|
||||
bool dispatchKeyEvent(std::shared_ptr<MMI::KeyEvent> keyEvent);
|
||||
void DisplayOptionalInputMethod();
|
||||
std::vector<InputMethodProperty*> ListInputMethod();
|
||||
private:
|
||||
InputMethodController();
|
||||
~InputMethodController();
|
||||
|
||||
@@ -48,6 +48,7 @@ namespace MiscServices {
|
||||
int32_t Start(sptr<InputClientStub> &client);
|
||||
int32_t Stop(sptr<InputClientStub> &client);
|
||||
|
||||
virtual void displayOptionalInputMethod(MessageParcel& data) override;
|
||||
virtual int32_t getDisplayMode(int32_t retMode) override;
|
||||
virtual int32_t getKeyboardWindowHeight(int32_t retHeight) override;
|
||||
virtual int32_t getCurrentKeyboardType(KeyboardType *retType) override;
|
||||
|
||||
Reference in New Issue
Block a user