summaryrefslogtreecommitdiff
path: root/libresourceqt/include/qt4
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 10:45:14 +0200
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-02-11 10:45:14 +0200
commit7fc9e4c25b87945487723e594bb5320bd253526f (patch)
tree91fe64e7fffbabf3d249014da8f16e7fdb78cef1 /libresourceqt/include/qt4
parent47c2aa40fca1f951dcbf3f3bf36a8481875cdfab (diff)
downloadlibresourceqt-7fc9e4c25b87945487723e594bb5320bd253526f.tar.gz
Added tests for ResourceEngine::acquire()
Diffstat (limited to 'libresourceqt/include/qt4')
-rw-r--r--libresourceqt/include/qt4/policy/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libresourceqt/include/qt4/policy/resource.h b/libresourceqt/include/qt4/policy/resource.h
index 4b68ab1..74b3e9b 100644
--- a/libresourceqt/include/qt4/policy/resource.h
+++ b/libresourceqt/include/qt4/policy/resource.h
@@ -20,6 +20,8 @@ namespace ResourcePolicy {
NumberOfTypes
};
+ class ResourceSet;
+
/**
* This class is the super class for all resources. It represents a generic
* \ref Resource. The type specific resource classes should be used.
@@ -27,6 +29,7 @@ namespace ResourcePolicy {
class Resource
{
public:
+ friend class ResourceSet;
/**
* Whether or not this resource is optional, in that it doesn't need to
* be available for the set to be acquired.