diff options
author | Nick Johnson <sylvyrfysh@gmail.com> | 2021-03-11 13:59:37 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-22 12:46:16 +0100 |
commit | a437430294bfb1a0a42482cd47aac09a7a7daeac (patch) | |
tree | 3e3d11dfc2f236051375c1be7025f688a96bd111 /Userland/Services/NotificationServer/NotificationWindow.h | |
parent | 7351c77a423108eaac1b1f6ab0abb11f6c601ee7 (diff) | |
download | serenity-a437430294bfb1a0a42482cd47aac09a7a7daeac.zip |
Notification: Give a unique internal ID
This will allow us to later query the notifications from a connection
and safely update it without exposing it to any other applications, as
it is session based.
Diffstat (limited to 'Userland/Services/NotificationServer/NotificationWindow.h')
-rw-r--r-- | Userland/Services/NotificationServer/NotificationWindow.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Userland/Services/NotificationServer/NotificationWindow.h b/Userland/Services/NotificationServer/NotificationWindow.h index 607365fe6e..f2654ddda7 100644 --- a/Userland/Services/NotificationServer/NotificationWindow.h +++ b/Userland/Services/NotificationServer/NotificationWindow.h @@ -40,9 +40,10 @@ public: void set_original_rect(Gfx::IntRect original_rect) { m_original_rect = original_rect; }; private: - NotificationWindow(const String& text, const String& title, const Gfx::ShareableBitmap&); + NotificationWindow(i32 client_id, const String& text, const String& title, const Gfx::ShareableBitmap&); Gfx::IntRect m_original_rect; + i32 m_id; }; } |