mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 02:12:09 -05:00
Clipboard+LibGUI: Remove unnecessary client/server greeting message
This commit is contained in:
parent
ec8363aec3
commit
e95e64972c
4 changed files with 0 additions and 8 deletions
|
@ -19,7 +19,6 @@ class ClipboardServerConnection : public IPC::ServerConnection<ClipboardClientEn
|
|||
public:
|
||||
virtual void handshake() override
|
||||
{
|
||||
greet();
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
@ -35,10 +35,6 @@ void ClientConnection::die()
|
|||
s_connections.remove(client_id());
|
||||
}
|
||||
|
||||
void ClientConnection::greet()
|
||||
{
|
||||
}
|
||||
|
||||
void ClientConnection::set_clipboard_data(Core::AnonymousBuffer const& data, String const& mime_type, IPC::Dictionary const& metadata)
|
||||
{
|
||||
Storage::the().set_data(data, mime_type, metadata.entries());
|
||||
|
|
|
@ -28,7 +28,6 @@ public:
|
|||
void notify_about_clipboard_change();
|
||||
|
||||
private:
|
||||
virtual void greet() override;
|
||||
virtual Messages::ClipboardServer::GetClipboardDataResponse get_clipboard_data() override;
|
||||
virtual void set_clipboard_data(Core::AnonymousBuffer const&, String const&, IPC::Dictionary const&) override;
|
||||
};
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
endpoint ClipboardServer
|
||||
{
|
||||
greet() => ()
|
||||
|
||||
get_clipboard_data() => (Core::AnonymousBuffer data, [UTF8] String mime_type, IPC::Dictionary metadata)
|
||||
set_clipboard_data(Core::AnonymousBuffer data, [UTF8] String mime_type, IPC::Dictionary metadata) =|
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue