mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 03:12:07 -05:00
6e19ab2bbc
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
14 lines
455 B
Text
14 lines
455 B
Text
#include <LibGfx/ShareableBitmap.h>
|
|
|
|
endpoint NotificationServer
|
|
{
|
|
show_notification([UTF8] DeprecatedString text, [UTF8] DeprecatedString title, Gfx::ShareableBitmap icon) => ()
|
|
|
|
update_notification_text([UTF8] DeprecatedString text, [UTF8] DeprecatedString title) => (bool still_showing)
|
|
|
|
update_notification_icon(Gfx::ShareableBitmap icon) => (bool still_showing)
|
|
|
|
is_showing() => (bool still_showing)
|
|
|
|
close_notification() => ()
|
|
}
|