diff options
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r-- | common/domainadaptor.h | 12 |
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 | */ | ||
249 | template<typename DomainType> | ||
250 | class DefaultAdaptorFactory : public DomainTypeAdaptorFactory<DomainType> | ||
251 | { | ||
252 | public: | ||
253 | DefaultAdaptorFactory() : DomainTypeAdaptorFactory<DomainType>() {} | ||
254 | virtual ~DefaultAdaptorFactory(){} | ||
255 | }; | ||
256 | |||