mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
This commit puts all of the remaining pieces in place. This adds a mechanism to update the text, title, and icon of an image. If an image is not provided, the default ladybug will be shown.
16 lines
417 B
Plaintext
16 lines
417 B
Plaintext
endpoint NotificationServer = 95
|
|
{
|
|
// Basic protocol
|
|
Greet() => ()
|
|
|
|
ShowNotification([UTF8] String text, [UTF8] String title, Gfx::ShareableBitmap icon) => ()
|
|
|
|
UpdateNotificationText([UTF8] String text, [UTF8] String title) => (bool still_showing)
|
|
|
|
UpdateNotificationIcon(Gfx::ShareableBitmap icon) => (bool still_showing)
|
|
|
|
IsShowing() => (bool still_showing)
|
|
|
|
CloseNotification() => ()
|
|
}
|