1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +00:00

LibGUI+Notification: Add notification closing

Closing a notification will now allow it to be shown again, as
m_showing being false means it can be re-shown.
This commit is contained in:
Nick Johnson 2021-03-11 14:21:06 -06:00 committed by Andreas Kling
parent ef4144c183
commit 0fd1e6f062
5 changed files with 24 additions and 1 deletions

View file

@ -45,6 +45,7 @@ private:
virtual OwnPtr<Messages::NotificationServer::GreetResponse> handle(const Messages::NotificationServer::Greet&) override;
virtual OwnPtr<Messages::NotificationServer::ShowNotificationResponse> handle(const Messages::NotificationServer::ShowNotification&) override;
virtual OwnPtr<Messages::NotificationServer::CloseNotificationResponse> handle(const Messages::NotificationServer::CloseNotification& message) override;
};
}