mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-01 18:14:13 +08:00
11 lines
310 B
C++
11 lines
310 B
C++
|
#include "extension.h"
|
||
|
|
||
|
bool sendclipboarddata(const std::wstring&text,HWND hwnd);
|
||
|
bool ProcessSentence(std::wstring& sentence, SentenceInfo sentenceInfo)
|
||
|
{
|
||
|
if (sentenceInfo["current select"] && sentenceInfo["toclipboard"])
|
||
|
{
|
||
|
sendclipboarddata(sentence,(HWND)sentenceInfo["HostHWND"]);
|
||
|
}
|
||
|
return false;
|
||
|
}
|