summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r--common/domainadaptor.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/common/domainadaptor.h b/common/domainadaptor.h
index 54aa53e..af5d5fc 100644
--- a/common/domainadaptor.h
+++ b/common/domainadaptor.h
@@ -242,3 +242,15 @@ protected:
242 QSharedPointer<WritePropertyMapper<ResourceBuilder>> mResourceWriteMapper; 242 QSharedPointer<WritePropertyMapper<ResourceBuilder>> mResourceWriteMapper;
243 QSharedPointer<IndexPropertyMapper> mIndexMapper; 243 QSharedPointer<IndexPropertyMapper> mIndexMapper;
244}; 244};
245
246/**
247 * A default adaptorfactory implemenation that simply instantiates a generic resource
248 */
249template<typename DomainType>
250class DefaultAdaptorFactory : public DomainTypeAdaptorFactory<DomainType>
251{
252public:
253 DefaultAdaptorFactory() : DomainTypeAdaptorFactory<DomainType>() {}
254 virtual ~DefaultAdaptorFactory(){}
255};
256