mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
ui/clipboard: add qemu_clipboard_check_serial()
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
835f69f4e6
commit
349504e5a1
2 changed files with 25 additions and 0 deletions
|
@ -172,6 +172,16 @@ void qemu_clipboard_peer_release(QemuClipboardPeer *peer,
|
|||
*/
|
||||
QemuClipboardInfo *qemu_clipboard_info(QemuClipboardSelection selection);
|
||||
|
||||
/**
|
||||
* qemu_clipboard_check_serial
|
||||
*
|
||||
* @info: clipboard info.
|
||||
* @client: whether to check from the client context and priority.
|
||||
*
|
||||
* Return TRUE if the @info has a higher serial than the current clipboard.
|
||||
*/
|
||||
bool qemu_clipboard_check_serial(QemuClipboardInfo *info, bool client);
|
||||
|
||||
/**
|
||||
* qemu_clipboard_info_new
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue