1
0
Fork 0

Add stubs for copy_to_clipboard.

This commit is contained in:
Taylor Holliday 2023-02-21 17:09:17 -08:00
parent 9b1c3785c8
commit 2b70a08e14
3 changed files with 8 additions and 1 deletions

View file

@ -5,7 +5,6 @@ use crate::win as platform;
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
use crate::x11 as platform; use crate::x11 as platform;
#[cfg(target_os = "macos")]
pub fn copy_to_clipboard(data: String) { pub fn copy_to_clipboard(data: String) {
platform::copy_to_clipboard(data) platform::copy_to_clipboard(data)
} }

View file

@ -763,3 +763,7 @@ unsafe impl HasRawWindowHandle for Window<'_> {
RawWindowHandle::Win32(handle) RawWindowHandle::Win32(handle)
} }
} }
pub fn copy_to_clipboard(data: String) {
todo!()
}

View file

@ -704,3 +704,7 @@ fn mouse_id(id: u8) -> MouseButton {
id => MouseButton::Other(id), id => MouseButton::Other(id),
} }
} }
pub fn copy_to_clipboard(data: String) {
todo!()
}