diff options
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 3655a63..4250a02 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -285,6 +285,12 @@ GenericResource::~GenericResource() | |||
285 | delete mSourceChangeReplay; | 285 | delete mSourceChangeReplay; |
286 | } | 286 | } |
287 | 287 | ||
288 | void GenericResource::addType(const QByteArray &type, DomainTypeAdaptorFactoryInterface::Ptr factory, const QVector<Akonadi2::Preprocessor*> &preprocessors) | ||
289 | { | ||
290 | mPipeline->setPreprocessors(type, preprocessors); | ||
291 | mPipeline->setAdaptorFactory(type, factory); | ||
292 | } | ||
293 | |||
288 | KAsync::Job<void> GenericResource::replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) | 294 | KAsync::Job<void> GenericResource::replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) |
289 | { | 295 | { |
290 | return KAsync::null<void>(); | 296 | return KAsync::null<void>(); |