diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:21:26 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-23 09:53:55 +0200 |
commit | 78b57fcea3233b9efccd23ef136a166cc6996d71 (patch) | |
tree | 43290c27bf9a19a16d4ac68d13b1afaadcb4b2af /Userland/Services | |
parent | 5424372d505687504424ce657b1438aea8f2a315 (diff) | |
download | serenity-78b57fcea3233b9efccd23ef136a166cc6996d71.zip |
NotificationServer: Remove unnecessary greet() message
Diffstat (limited to 'Userland/Services')
3 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Services/NotificationServer/ClientConnection.cpp b/Userland/Services/NotificationServer/ClientConnection.cpp index 5b93c00cea..c15b13a148 100644 --- a/Userland/Services/NotificationServer/ClientConnection.cpp +++ b/Userland/Services/NotificationServer/ClientConnection.cpp @@ -28,10 +28,6 @@ void ClientConnection::die() s_connections.remove(client_id()); } -void ClientConnection::greet() -{ -} - void ClientConnection::show_notification(String const& text, String const& title, Gfx::ShareableBitmap const& icon) { auto window = NotificationWindow::construct(client_id(), text, title, icon); diff --git a/Userland/Services/NotificationServer/ClientConnection.h b/Userland/Services/NotificationServer/ClientConnection.h index 6f5449d787..309267864f 100644 --- a/Userland/Services/NotificationServer/ClientConnection.h +++ b/Userland/Services/NotificationServer/ClientConnection.h @@ -22,7 +22,6 @@ public: private: explicit ClientConnection(NonnullRefPtr<Core::LocalSocket>, int client_id); - virtual void greet() override; virtual void show_notification(String const&, String const&, Gfx::ShareableBitmap const&) override; virtual void close_notification() override; virtual Messages::NotificationServer::UpdateNotificationIconResponse update_notification_icon(Gfx::ShareableBitmap const&) override; diff --git a/Userland/Services/NotificationServer/NotificationServer.ipc b/Userland/Services/NotificationServer/NotificationServer.ipc index 09875d84d4..c51c894c60 100644 --- a/Userland/Services/NotificationServer/NotificationServer.ipc +++ b/Userland/Services/NotificationServer/NotificationServer.ipc @@ -1,8 +1,5 @@ endpoint NotificationServer { - // Basic protocol - greet() => () - show_notification([UTF8] String text, [UTF8] String title, Gfx::ShareableBitmap icon) => () update_notification_text([UTF8] String text, [UTF8] String title) => (bool still_showing) |