diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-17 11:40:38 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-02-17 11:40:38 +0200 |
commit | 28aaf4eb7d89bba113d27a9a39fc787a03a05e31 (patch) | |
tree | 67f353cda2b44b419d108f5c91e0cf5d1fa27f7a /libresourceqt/src/resource-engine.h | |
parent | e288abf93cc33ce7f6d535e1e5d887e8f9628119 (diff) |
Implemented release, update and related callbacks (grant, release, lost
resources). Initial implementation of audio (group only at this stage).
Diffstat (limited to 'libresourceqt/src/resource-engine.h')
-rw-r--r-- | libresourceqt/src/resource-engine.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/libresourceqt/src/resource-engine.h b/libresourceqt/src/resource-engine.h index 34f416a..c966144 100644 --- a/libresourceqt/src/resource-engine.h +++ b/libresourceqt/src/resource-engine.h @@ -27,15 +27,17 @@ public: bool initialize(); - bool connect(); - bool disconnect(); - bool isConnected(); + bool connectToManager(); + bool disconnectFromManager(); + bool isConnectedToManager(); bool acquireResources(); bool releaseResources(); bool updateResources(); - bool registerAudioProperties(quint32 pid, QString streamName); + bool registerAudioPid(quint32 pid); + bool registerAudioStreamTag(const QString &streamName); + bool registerAudioGroup(const QString &); void handleConnectionIsUp(); @@ -49,9 +51,11 @@ public: void setMode(quint32 newMode); signals: - void resourcesBecameAvailable(QList<ResourceType> availableResources); - void resourcesAcquired(quint32 bitmaskOfGrantedResources); + void resourcesBecameAvailable(quint32 bitmaskOfAvailableResources); + void resourcesGranted(quint32 bitmaskOfGrantedResources); void resourcesDenied(); + void resourcesReleased(); + void resourcesLost(quint32 bitmaskOfGrantedResources); void connectedToManager(); void disconnectedFromManager(); @@ -70,3 +74,4 @@ private: } #endif + |