
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.
85 lines
1.7 KiB
Makefile
85 lines
1.7 KiB
Makefile
OBJS = \
|
|
AboutDialog.o \
|
|
AbstractButton.o \
|
|
AbstractTableView.o \
|
|
AbstractView.o \
|
|
Action.o \
|
|
ActionGroup.o \
|
|
Application.o \
|
|
BoxLayout.o \
|
|
Button.o \
|
|
CheckBox.o \
|
|
Clipboard.o \
|
|
ColorPicker.o \
|
|
ColumnsView.o \
|
|
ComboBox.o \
|
|
Command.o \
|
|
CppLexer.o \
|
|
CppSyntaxHighlighter.o \
|
|
Desktop.o \
|
|
Dialog.o \
|
|
DragOperation.o \
|
|
Event.o \
|
|
FilePicker.o \
|
|
FileSystemModel.o \
|
|
FontDatabase.o \
|
|
Frame.o \
|
|
GroupBox.o \
|
|
Icon.o \
|
|
InputBox.o \
|
|
ItemView.o \
|
|
JsonArrayModel.o \
|
|
Label.o \
|
|
Layout.o \
|
|
LazyWidget.o \
|
|
ListView.o \
|
|
Menu.o \
|
|
MenuBar.o \
|
|
MenuItem.o \
|
|
MessageBox.o \
|
|
Model.o \
|
|
ModelIndex.o \
|
|
ModelSelection.o \
|
|
Notification.o \
|
|
Painter.o \
|
|
ProgressBar.o \
|
|
RadioButton.o \
|
|
ResizeCorner.o \
|
|
ScrollBar.o \
|
|
ScrollableWidget.o \
|
|
Shortcut.o \
|
|
Slider.o \
|
|
SortingProxyModel.o \
|
|
SpinBox.o \
|
|
Splitter.o \
|
|
StackWidget.o \
|
|
StatusBar.o \
|
|
SyntaxHighlighter.o \
|
|
TabWidget.o \
|
|
TableView.o \
|
|
TextBox.o \
|
|
TextDocument.o \
|
|
TextEditor.o \
|
|
ToolBar.o \
|
|
TreeView.o \
|
|
UndoStack.o \
|
|
Variant.o \
|
|
Widget.o \
|
|
Window.o \
|
|
WindowServerConnection.o
|
|
|
|
LIBRARY = libgui.a
|
|
|
|
Application.cpp: ../../Servers/WindowServer/WindowServerEndpoint.h
|
|
|
|
Notification.cpp: ../../Servers/NotificationServer/NotificationServerEndpoint.h
|
|
|
|
../../Servers/WindowServer/WindowServerEndpoint.h:
|
|
@flock $(dir $(@)) $(MAKE) -C $(dir $(@))
|
|
|
|
install:
|
|
mkdir -p $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
|
|
cp ./*.h $(SERENITY_BASE_DIR)/Root/usr/include/LibGUI/
|
|
cp $(LIBRARY) $(SERENITY_BASE_DIR)/Root/usr/lib/
|
|
|
|
include ../../Makefile.common
|