blob: eb1e6b85cd3b5af357871707b43bf65e6aa7dc7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()
}
|