This website requires JavaScript.
Explore
Help
Sign in
dmaax
/
ladybird
Watch
1
Star
0
Fork
You've already forked ladybird
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
da170997d5
ladybird
/
Userland
/
Services
/
NotificationServer
/
NotificationClient.ipc
6 lines
69 B
Text
Raw
Normal View
History
Unescape
Escape
Everywhere: Use IPC include syntax Remove superfluous includes from IPCCompiler's generated output and add include directives in IPC definitions where appropriate.
2021-07-03 01:40:44 -03:00
#include <LibGfx/ShareableBitmap.h>
IPCCompiler: Remove hardcoded endpoint magic, attempt deux This patch removes the IPC endpoint numbers that needed to be specified in the IPC files. Since the string hash is a (hopefully) collision free number that depends on the name of the endpoint, we now use that instead. :^) Additionally, endpoint magic is now treated as a u32, because endpoint numbers were never negative anyway. For cases where the endpoint number does have to be hardcoded (a current case is LookupServer because the endpoint number must be known in LibC), the syntax has been made more explicit to avoid confusing those unfamiliar. To hardcode the endpoint magic, the following syntax is now used: endpoint EndpointName [magic=1234]
2021-04-25 08:19:53 -03:00
endpoint NotificationClient
NotificationServer: Add a system service for desktop notifications This patch adds NotificationServer, which runs as the "notify" user and provides an IPC API for desktop notifications. LibGUI gains the GUI::Notification class for showing notifications. NotificationServer is spawned on demand and will unspawn after dimissing all visible notifications. :^) Finally, this also comes with a small /bin/notify utility.
2020-02-16 15:28:08 -03:00
{
}
Reference in a new issue
Copy permalink