summaryrefslogtreecommitdiffstats
path: root/examples/davresource/davresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 14:12:14 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-03-21 14:12:14 +0100
commitdaf96f7efec0538e161eab8e906a291015842e1e (patch)
tree577af79efecd96e0d2187d495628d9950f2a9d45 /examples/davresource/davresource.cpp
parent7a98c9853726ed09abd35a447f9854c5459a855d (diff)
downloadsink-daf96f7efec0538e161eab8e906a291015842e1e.tar.gz
sink-daf96f7efec0538e161eab8e906a291015842e1e.zip
Default domain adaptor
Diffstat (limited to 'examples/davresource/davresource.cpp')
-rw-r--r--examples/davresource/davresource.cpp4
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
278void DavResourceFactory::registerAdaptorFactories(const QByteArray &name, Sink::AdaptorFactoryRegistry &registry) 278void DavResourceFactory::registerAdaptorFactories(const QByteArray &name, Sink::AdaptorFactoryRegistry &registry)
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
284void DavResourceFactory::removeDataFromDisk(const QByteArray &instanceIdentifier) 284void DavResourceFactory::removeDataFromDisk(const QByteArray &instanceIdentifier)