bar can now toggle bluetooth power and discovery

This commit is contained in:
2025-12-22 01:41:01 +01:00
parent 0101ea1ec0
commit 5a429a3b8b
31 changed files with 507 additions and 114 deletions

View File

@@ -3,18 +3,18 @@
#include <gio/gio.h>
class NotificationService {
public:
public:
void intialize();
NotificationService() = default;
~NotificationService();
guint32 allocateNotificationId(guint32 replacesId);
GDBusConnection* getConnection() const { return connection; }
GDBusConnection *getConnection() const { return connection; }
private:
GDBusConnection* connection = nullptr;
guint registrationId = 0;
GDBusNodeInfo* nodeInfo = nullptr;
guint32 nextNotificationId = 1;
private:
GDBusConnection *connection = nullptr;
guint registrationId = 0;
GDBusNodeInfo *nodeInfo = nullptr;
guint32 nextNotificationId = 1;
};