#pragma once #include class NotificationService { public: void intialize(); NotificationService() = default; ~NotificationService(); guint32 allocateNotificationId(guint32 replacesId); GDBusConnection *getConnection() const { return connection; } private: GDBusConnection *connection = nullptr; guint registrationId = 0; GDBusNodeInfo *nodeInfo = nullptr; guint32 nextNotificationId = 1; };