refactor notifications

This commit is contained in:
2026-02-01 16:10:42 +01:00
parent 17aef717b7
commit 178a4451d4
18 changed files with 449 additions and 236 deletions

View File

@@ -3,11 +3,8 @@
#include <fcntl.h>
#include <giomm.h>
#include <gtkmm.h>
#include <memory>
#include <sigc++/sigc++.h>
#include <vector>
#include "gdkmm/monitor.h"
#include "giomm/dbusconnection.h"
#include "giomm/dbusownname.h"
#include "glib.h"
@@ -43,7 +40,6 @@ const Glib::ustring introspection_xml = R"(
)";
class NotificationService {
public:
NotificationService() : notificationIdCounter(1) {
Gio::DBus::own_name(