mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 04:44:58 +00:00
15 lines
419 B
Text
15 lines
419 B
Text
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)
|
|
|
|
update_notification_icon(Gfx::ShareableBitmap icon) => (bool still_showing)
|
|
|
|
is_showing() => (bool still_showing)
|
|
|
|
close_notification() => ()
|
|
}
|