diff options
Diffstat (limited to 'include/ui/clipboard.h')
-rw-r--r-- | include/ui/clipboard.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/ui/clipboard.h b/include/ui/clipboard.h index e9fcb15..25e0b47 100644 --- a/include/ui/clipboard.h +++ b/include/ui/clipboard.h @@ -110,6 +110,17 @@ void qemu_clipboard_peer_register(QemuClipboardPeer *peer); void qemu_clipboard_peer_unregister(QemuClipboardPeer *peer); /** + * qemu_clipboard_peer_owns + * + * @peer: peer information. + * @selection: clipboard selection. + * + * Return TRUE if the peer owns the clipboard. + */ +bool qemu_clipboard_peer_owns(QemuClipboardPeer *peer, + QemuClipboardSelection selection); + +/** * qemu_clipboard_info * * @selection: clipboard selection. |