summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4/policy/resources.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-17 11:40:38 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-17 11:40:38 +0200
commit28aaf4eb7d89bba113d27a9a39fc787a03a05e31 (patch)
tree67f353cda2b44b419d108f5c91e0cf5d1fa27f7a /libresourceqt/include/qt4/policy/resources.h
parente288abf93cc33ce7f6d535e1e5d887e8f9628119 (diff)
downloadlibresourceqt-28aaf4eb7d89bba113d27a9a39fc787a03a05e31.tar.gz
Implemented release, update and related callbacks (grant, release, lost
resources). Initial implementation of audio (group only at this stage).
Diffstat (limited to 'libresourceqt/include/qt4/policy/resources.h')
-rw-r--r--libresourceqt/include/qt4/policy/resources.h35
1 files changed, 1 insertions, 34 deletions
diff --git a/libresourceqt/include/qt4/policy/resources.h b/libresourceqt/include/qt4/policy/resources.h
index f00cc2e..26ce014 100644
--- a/libresourceqt/include/qt4/policy/resources.h
+++ b/libresourceqt/include/qt4/policy/resources.h
@@ -8,46 +8,13 @@
namespace ResourcePolicy
{
-class AudioResource: public Resource
-{
-public:
- AudioResource(const QString &audioGroup = QString());
- AudioResource(const AudioResource &other);
- virtual ~AudioResource();
-
- QString audioGroup() const;
- void setAudioGroup(const QString & newGroup);
-
- quint32 processID() const;
- void setProcessID(quint32 newPID);
-
- QString streamTag() const;
- void setStreamTag(const QString & newStreamTag);
-
- virtual ResourceType type() const;
- virtual Resource * clone() const;
-private:
- QString group;
- quint32 pid;
- QString stream;
-};
-
class AudioRecorderResource: public Resource
{
public:
- AudioRecorderResource(const QString & audioGroup = QString());
+ AudioRecorderResource();
AudioRecorderResource(const AudioRecorderResource &other);
virtual ~AudioRecorderResource();
- QString audioGroup() const;
- void setAudioGroup(const QString & newGroup);
-
- quint32 processID() const;
- void setProcessID(quint32 newPID);
-
- QString streamTag() const;
- void setStreamTag(const QString & newStreamTag);
-
virtual ResourceType type() const;
virtual Resource * clone() const;
private: