mirror of
https://github.com/ONLYOFFICE/desktop-sdk.git
synced 2026-03-31 10:23:12 +08:00
Remove virtual OnNeedCheckKeyboard method
This commit is contained in:
@ -207,7 +207,7 @@ public:
|
||||
void StartKeyboardChecker();
|
||||
void CheckKeyboard();
|
||||
void SendKeyboardAttack();
|
||||
virtual void OnNeedCheckKeyboard();
|
||||
void OnNeedCheckKeyboard();
|
||||
virtual bool IsPlatformKeyboardSupport();
|
||||
virtual int GetPlatformKeyboardLayout();
|
||||
|
||||
|
||||
@ -47,7 +47,6 @@ public:
|
||||
virtual CAscDpiChecker* InitDpiChecker();
|
||||
virtual IExternalMessageLoop* GetExternalMessageLoop();
|
||||
virtual int GetPlatformKeyboardLayout();
|
||||
virtual void OnNeedCheckKeyboard();
|
||||
void processEvents();
|
||||
};
|
||||
|
||||
|
||||
@ -52,11 +52,6 @@ int QAscApplicationManager::GetPlatformKeyboardLayout()
|
||||
|
||||
return -1;
|
||||
}
|
||||
void QAscApplicationManager::OnNeedCheckKeyboard()
|
||||
{
|
||||
if (GetEventListener())
|
||||
GetEventListener()->OnEvent(new NSEditorApi::CAscCefMenuEvent(ASC_MENU_EVENT_TYPE_CEF_CHECK_KEYBOARD));
|
||||
}
|
||||
void QAscApplicationManager::processEvents()
|
||||
{
|
||||
if (!IsExitMessageLoop())
|
||||
|
||||
@ -279,7 +279,8 @@ void CAscApplicationManager::StartKeyboardChecker()
|
||||
}
|
||||
void CAscApplicationManager::OnNeedCheckKeyboard()
|
||||
{
|
||||
// none. evaluate in UI thread
|
||||
if (GetEventListener())
|
||||
GetEventListener()->OnEvent(new NSEditorApi::CAscCefMenuEvent(ASC_MENU_EVENT_TYPE_CEF_CHECK_KEYBOARD));
|
||||
}
|
||||
|
||||
void CAscApplicationManager::CheckKeyboard()
|
||||
|
||||
Reference in New Issue
Block a user