mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-05 06:25:46 +00:00
Put getClipboard back.
This commit is contained in:
parent
6c3f89f3c1
commit
f0954a9a70
4 changed files with 21 additions and 0 deletions
|
|
@ -259,5 +259,13 @@ public final class Sys {
|
|||
* Where necessary, we use a native implementation of openURL.
|
||||
*/
|
||||
private static native void nOpenURL(String url);
|
||||
|
||||
/**
|
||||
* Get the contents of the system clipboard. The system might not have a clipboard
|
||||
* (particularly if it doesn't even have a keyboard) in which case we return null.
|
||||
* Otherwise we return a String, which may be the empty string "".
|
||||
* @return a String, or null if there is no system clipboard.
|
||||
*/
|
||||
public static native String getClipboard();
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue