diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-21 14:12:14 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-21 14:12:14 +0100 |
commit | daf96f7efec0538e161eab8e906a291015842e1e (patch) | |
tree | 577af79efecd96e0d2187d495628d9950f2a9d45 /examples/davresource/davresource.cpp | |
parent | 7a98c9853726ed09abd35a447f9854c5459a855d (diff) | |
download | sink-daf96f7efec0538e161eab8e906a291015842e1e.tar.gz sink-daf96f7efec0538e161eab8e906a291015842e1e.zip |
Default domain adaptor
Diffstat (limited to 'examples/davresource/davresource.cpp')
-rw-r--r-- | examples/davresource/davresource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/davresource/davresource.cpp b/examples/davresource/davresource.cpp index d116397..d7254b4 100644 --- a/examples/davresource/davresource.cpp +++ b/examples/davresource/davresource.cpp | |||
@@ -277,8 +277,8 @@ void DavResourceFactory::registerFacades(const QByteArray &name, Sink::FacadeFac | |||
277 | 277 | ||
278 | void DavResourceFactory::registerAdaptorFactories(const QByteArray &name, Sink::AdaptorFactoryRegistry ®istry) | 278 | void DavResourceFactory::registerAdaptorFactories(const QByteArray &name, Sink::AdaptorFactoryRegistry ®istry) |
279 | { | 279 | { |
280 | registry.registerFactory<Sink::ApplicationDomain::Contact, ContactAdaptorFactory>(name); | 280 | registry.registerFactory<ApplicationDomain::Contact, DefaultAdaptorFactory<ApplicationDomain::Contact>>(name); |
281 | registry.registerFactory<Sink::ApplicationDomain::Addressbook, AddressbookAdaptorFactory>(name); | 281 | registry.registerFactory<ApplicationDomain::Addressbook, DefaultAdaptorFactory<ApplicationDomain::Addressbook>>(name); |
282 | } | 282 | } |
283 | 283 | ||
284 | void DavResourceFactory::removeDataFromDisk(const QByteArray &instanceIdentifier) | 284 | void DavResourceFactory::removeDataFromDisk(const QByteArray &instanceIdentifier) |