mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 10:07:35 +00:00
SpiceAgent: Implement sending clipboard data to the spice server
This commit is contained in:
parent
9f92e52464
commit
0d98920930
4 changed files with 94 additions and 0 deletions
|
@ -64,9 +64,17 @@ private:
|
|||
|
||||
RefPtr<Core::Notifier> m_notifier;
|
||||
|
||||
bool m_clipboard_dirty { false };
|
||||
|
||||
// Fired when we receive clipboard data from the spice server.
|
||||
ErrorOr<void> did_receive_clipboard_message(ClipboardMessage& message);
|
||||
|
||||
// Fired when the user's clipboard changes
|
||||
ErrorOr<void> on_clipboard_update(String const& mime_type);
|
||||
|
||||
// Sends the GUI::Clipboard's current contents to the spice server
|
||||
ErrorOr<void> send_clipboard_contents(ClipboardDataType data_type);
|
||||
|
||||
ErrorOr<void> on_message_received();
|
||||
ErrorOr<ByteBuffer> read_message_buffer();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue