mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-22 20:50:11 +00:00
[client] spice: better align the spice api for x11 cliboard integration
This commit is contained in:
@@ -31,7 +31,7 @@ typedef enum SpiceDataType
|
||||
}
|
||||
SpiceDataType;
|
||||
|
||||
typedef bool (*SpiceClipboardNotice)(const SpiceDataType type);
|
||||
typedef void (*SpiceClipboardNotice)(const SpiceDataType type);
|
||||
typedef void (*SpiceClipboardData )(const SpiceDataType type, uint8_t * buffer, uint32_t size);
|
||||
|
||||
bool spice_connect(const char * host, const unsigned short port, const char * password);
|
||||
@@ -47,5 +47,7 @@ bool spice_mouse_motion ( int32_t x, int32_t y);
|
||||
bool spice_mouse_press (uint32_t button);
|
||||
bool spice_mouse_release (uint32_t button);
|
||||
|
||||
bool spice_clipboard_request(SpiceDataType type);
|
||||
|
||||
/* events */
|
||||
bool spice_set_on_clipboard_cb(SpiceClipboardNotice cbNoticeFn, SpiceClipboardData cbDataFn);
|
||||
Reference in New Issue
Block a user