[dev]: Message to clear cache
This commit is contained in:
1 parent
7facaf83be
commit
78fae52203
3 files changed
+11
-4
No files matched your search
Submodule server/MetasequoiaImeEngine updated: 2e5302ad47...40aa3fdca0.
@@ -235,6 +235,13 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
break;
|
||||
}
|
||||
|
||||
/* Clear dictionary buffer cache */
|
||||
case WM_USER + 100: {
|
||||
g_dictQuery->reset_cache();
|
||||
OutputDebugString(fmt::format(L"Cleared dictionary buffer cache.").c_str());
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
return DefWindowProc(hwnd, message, wParam, lParam);
|
||||
}
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
inline WCHAR szWindowClass[] = L"global_candidate_window";
|
||||
inline WCHAR szTitle[] = L"Global Candidate Window";
|
||||
inline WCHAR lpWindowName[] = L"fanycandidatewindow";
|
||||
inline WCHAR szWindowClass[] = L"metasequoiaime_candidate_window";
|
||||
inline WCHAR szTitle[] = L"MetasequoiaIme Candidate Window";
|
||||
inline WCHAR lpWindowName[] = L"metaseuqoiaimecandidatewindow";
|
||||
|
||||
LRESULT RegisterCandidateWindowMessage();
|
||||
LRESULT RegisterCandidateWindowClass(WNDCLASSEX &, HINSTANCE);
|
||||
|
||||
Reference in new issue
Block a user