Move the copyTextToClipboard interface from SystemWindow to System (#14729)

* Move the copyTextToClipboard interface from SystemWindow to System

* Use file names with the same case as the directory name
This commit is contained in:
qiuguohua
2023-04-07 11:09:08 +08:00
committed by GitHub
parent 6b7f96562f
commit 8303d7fb8c
28 changed files with 67 additions and 62 deletions
@@ -53,10 +53,6 @@ SystemWindow::SystemWindow(uint32_t windowId, void *externalHandle)
void SystemWindow::setCursorEnabled(bool value) {
}
void SystemWindow::copyTextToClipboard(const ccstd::string &text) {
copyTextToClipboardJNI(text);
}
void SystemWindow::setWindowHandle(void *handle) {
#if (CC_PLATFORM == CC_PLATFORM_ANDROID)
//The getWindowHandle interface may have been called earlier, causing _handleMutex to be occupied all the time.