mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:37:35 +00:00
SpiceAgent: Use ErrorOr<T>
for on_message_received
This commit is contained in:
parent
0d82cc8a67
commit
7e3fd73410
2 changed files with 21 additions and 14 deletions
|
@ -119,7 +119,8 @@ private:
|
|||
RefPtr<Core::Notifier> m_notifier;
|
||||
ConnectionToClipboardServer& m_clipboard_connection;
|
||||
|
||||
void on_message_received();
|
||||
ErrorOr<void> on_message_received();
|
||||
|
||||
void send_message(ByteBuffer const& buffer);
|
||||
bool m_just_set_clip { false };
|
||||
void read_n(void* dest, size_t n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue