summaryrefslogtreecommitdiff
path: root/tests/test-resource
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 /tests/test-resource
parente288abf93cc33ce7f6d535e1e5d887e8f9628119 (diff)
Implemented release, update and related callbacks (grant, release, lost
resources). Initial implementation of audio (group only at this stage).
Diffstat (limited to 'tests/test-resource')
-rw-r--r--tests/test-resource/test-resource.h1
-rw-r--r--tests/test-resource/test-resource.pro7
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/test-resource/test-resource.h b/tests/test-resource/test-resource.h
index d37dce4..6545d79 100644
--- a/tests/test-resource/test-resource.h
+++ b/tests/test-resource/test-resource.h
@@ -4,6 +4,7 @@
#include <QtTest/QTest>
#include <QMetaType>
#include <policy/resources.h>
+#include <policy/audio-resource.h>
Q_DECLARE_METATYPE(ResourcePolicy::ResourceType)
diff --git a/tests/test-resource/test-resource.pro b/tests/test-resource/test-resource.pro
index b103412..5d185ce 100644
--- a/tests/test-resource/test-resource.pro
+++ b/tests/test-resource/test-resource.pro
@@ -6,8 +6,11 @@ DEPENDPATH += $${POLICY} $${LIBRESOURCEQT}/src .
INCLUDEPATH += $${LIBRESOURCEQT}/src $${LIBRESOURCEINC}
# Input
-HEADERS += $${POLICY}/resource.h $${POLICY}/resources.h test-resource.h
-SOURCES += $${LIBRESOURCEQT}/src/resource.cpp $${LIBRESOURCEQT}/src/resources.cpp test-resource.cpp
+HEADERS += $${POLICY}/resource.h $${POLICY}/resources.h $${POLICY}/audio-resource.h test-resource.h
+SOURCES += $${LIBRESOURCEQT}/src/resource.cpp \
+ $${LIBRESOURCEQT}/src/resources.cpp \
+ $${LIBRESOURCEQT}/src/audio-resource.cpp \
+ test-resource.cpp
OBJECTS_DIR = build
MOC_DIR = build