summaryrefslogtreecommitdiffstats
path: root/include/ui
diff options
context:
space:
mode:
authorMarc-André Lureau2021-07-19 17:49:56 +0200
committerMarc-André Lureau2021-12-21 07:50:21 +0100
commit505dbf9b99e937853c02d7995f9eebe95508e8d4 (patch)
tree1e710bb13a8d7d17045636fe98bca04b349a2812 /include/ui
parentui/clipboard: add qemu_clipboard_check_serial() (diff)
downloadqemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.tar.gz
qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.tar.xz
qemu-505dbf9b99e937853c02d7995f9eebe95508e8d4.zip
ui/clipboard: add a clipboard reset serial event
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'include/ui')
-rw-r--r--include/ui/clipboard.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/ui/clipboard.h b/include/ui/clipboard.h
index 2c6488c1ee..ce76aa451f 100644
--- a/include/ui/clipboard.h
+++ b/include/ui/clipboard.h
@@ -73,11 +73,13 @@ struct QemuClipboardPeer {
* enum QemuClipboardNotifyType
*
* @QEMU_CLIPBOARD_UPDATE_INFO: clipboard info update
+ * @QEMU_CLIPBOARD_RESET_SERIAL: reset clipboard serial
*
* Clipboard notify type.
*/
enum QemuClipboardNotifyType {
QEMU_CLIPBOARD_UPDATE_INFO,
+ QEMU_CLIPBOARD_RESET_SERIAL,
};
/**
@@ -231,6 +233,13 @@ void qemu_clipboard_info_unref(QemuClipboardInfo *info);
void qemu_clipboard_update(QemuClipboardInfo *info);
/**
+ * qemu_clipboard_reset_serial
+ *
+ * Reset the clipboard serial.
+ */
+void qemu_clipboard_reset_serial(void);
+
+/**
* qemu_clipboard_request
*
* @info: clipboard info.