1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

clipboard: add android variant (#8585)

This commit is contained in:
Larpon 2021-02-05 16:49:04 +01:00 committed by GitHub
parent 9ab1d17cbc
commit e78c30d181
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,15 @@
module clipboard
import clipboard.dummy
pub type Clipboard = dummy.Clipboard
fn new_clipboard() &Clipboard {
return dummy.new_clipboard()
}
// new_primary returns a new X11 `PRIMARY` type `Clipboard` instance allocated on the heap.
// Please note: new_primary only works on X11 based systems.
pub fn new_primary() &Clipboard {
return dummy.new_primary()
}