Add stubs for copy_to_clipboard.
This commit is contained in:
parent
9b1c3785c8
commit
2b70a08e14
|
@ -5,7 +5,6 @@ use crate::win as platform;
|
|||
#[cfg(target_os = "linux")]
|
||||
use crate::x11 as platform;
|
||||
|
||||
#[cfg(target_os = "macos")]
|
||||
pub fn copy_to_clipboard(data: String) {
|
||||
platform::copy_to_clipboard(data)
|
||||
}
|
||||
|
|
|
@ -763,3 +763,7 @@ unsafe impl HasRawWindowHandle for Window<'_> {
|
|||
RawWindowHandle::Win32(handle)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn copy_to_clipboard(data: String) {
|
||||
todo!()
|
||||
}
|
||||
|
|
|
@ -704,3 +704,7 @@ fn mouse_id(id: u8) -> MouseButton {
|
|||
id => MouseButton::Other(id),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn copy_to_clipboard(data: String) {
|
||||
todo!()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue