mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 23:20:59 +00:00
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.
24 lines
661 B
Makefile
24 lines
661 B
Makefile
OBJS = \
|
|
main.o \
|
|
ClientConnection.o \
|
|
NotificationWindow.o
|
|
|
|
PROGRAM = NotificationServer
|
|
|
|
LIB_DEPS = GUI Gfx Core IPC
|
|
|
|
EXTRA_CLEAN = NotificationServerEndpoint.h NotificationClientEndpoint.h
|
|
|
|
*.cpp: NotificationServerEndpoint.h NotificationClientEndpoint.h
|
|
|
|
NotificationServerEndpoint.h: NotificationServer.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
NotificationClientEndpoint.h: NotificationClient.ipc | IPCCOMPILER
|
|
@echo "IPC $<"; $(IPCCOMPILER) $< > $@
|
|
|
|
install:
|
|
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/NotificationServer/
|
|
cp *.h $(SERENITY_BASE_DIR)/Root/usr/include/NotificationServer/
|
|
|
|
include ../../Makefile.common
|