Phosphor
Qt6 / Wayland library suite for window-management tools
Loading...
Searching...
No Matches
PhosphorServiceNotifications.h File Reference

Umbrella header for the PhosphorServiceNotifications library. More...

Go to the source code of this file.

Detailed Description

Umbrella header for the PhosphorServiceNotifications library.

PhosphorServiceNotifications is the session-bus server for org.freedesktop.Notifications (Desktop Notifications Spec 1.3). It owns the well-known name and answers it: the library IS the notification daemon, not a client of one. The interface is exported through a generated adaptor (qt6_add_dbus_adaptor) that forwards to NotificationServer. The library has no UI of its own: it stores and lifecycles notifications and surfaces them as Qt/QML types; toast / notification-center rendering is Phase 3.4 / 4.3.

Shells consume:

  • NotificationServer: owns the bus name, ingest, id allocation, expiry, and the close/action lifecycle.
  • Notification: one decoded live notification (summary / body / actions / urgency / image / hints), mutated in place on replaces_id.
  • NotificationModel: a QAbstractListModel over a server's live notifications, for a ListView / Repeater to bind.

Phase 2.5 of the service-library plan documented in docs/phosphor-shell-design/04-implementation-plan.md.