diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 5 | ||||
-rw-r--r-- | examples/imapresource/imapresource.cpp | 3 | ||||
-rw-r--r-- | examples/maildirresource/maildirresource.cpp | 2 |
3 files changed, 2 insertions, 8 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index 3565d57..26faf67 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -23,12 +23,8 @@ | |||
23 | #include "entitybuffer.h" | 23 | #include "entitybuffer.h" |
24 | #include "pipeline.h" | 24 | #include "pipeline.h" |
25 | #include "dummycalendar_generated.h" | 25 | #include "dummycalendar_generated.h" |
26 | #include "notification_generated.h" | ||
27 | #include "mail_generated.h" | 26 | #include "mail_generated.h" |
28 | #include "createentity_generated.h" | ||
29 | #include "domainadaptor.h" | 27 | #include "domainadaptor.h" |
30 | #include "commands.h" | ||
31 | #include "index.h" | ||
32 | #include "log.h" | 28 | #include "log.h" |
33 | #include "domain/event.h" | 29 | #include "domain/event.h" |
34 | #include "domain/mail.h" | 30 | #include "domain/mail.h" |
@@ -39,7 +35,6 @@ | |||
39 | #include "synchronizer.h" | 35 | #include "synchronizer.h" |
40 | #include "inspector.h" | 36 | #include "inspector.h" |
41 | #include "mailpreprocessor.h" | 37 | #include "mailpreprocessor.h" |
42 | #include "remoteidmap.h" | ||
43 | #include <QDate> | 38 | #include <QDate> |
44 | #include <QUuid> | 39 | #include <QUuid> |
45 | 40 | ||
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index 40fa75f..9577f3e 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -28,7 +28,6 @@ | |||
28 | #include "inspection.h" | 28 | #include "inspection.h" |
29 | #include "synchronizer.h" | 29 | #include "synchronizer.h" |
30 | #include "inspector.h" | 30 | #include "inspector.h" |
31 | #include "remoteidmap.h" | ||
32 | #include "query.h" | 31 | #include "query.h" |
33 | 32 | ||
34 | #include <QtGlobal> | 33 | #include <QtGlobal> |
@@ -571,7 +570,7 @@ protected: | |||
571 | auto transaction = mainStore->createTransaction(Sink::Storage::DataStore::ReadOnly); | 570 | auto transaction = mainStore->createTransaction(Sink::Storage::DataStore::ReadOnly); |
572 | 571 | ||
573 | Sink::Storage::EntityStore entityStore(mResourceContext); | 572 | Sink::Storage::EntityStore entityStore(mResourceContext); |
574 | auto syncStore = QSharedPointer<Sink::RemoteIdMap>::create(synchronizationTransaction); | 573 | auto syncStore = QSharedPointer<Sink::SynchronizerStore>::create(synchronizationTransaction); |
575 | 574 | ||
576 | SinkTrace() << "Inspecting " << inspectionType << domainType << entityId << property << expectedValue; | 575 | SinkTrace() << "Inspecting " << inspectionType << domainType << entityId << property << expectedValue; |
577 | 576 | ||
diff --git a/examples/maildirresource/maildirresource.cpp b/examples/maildirresource/maildirresource.cpp index 2b19789..708dabc 100644 --- a/examples/maildirresource/maildirresource.cpp +++ b/examples/maildirresource/maildirresource.cpp | |||
@@ -443,7 +443,7 @@ protected: | |||
443 | auto transaction = mainStore->createTransaction(Sink::Storage::DataStore::ReadOnly); | 443 | auto transaction = mainStore->createTransaction(Sink::Storage::DataStore::ReadOnly); |
444 | 444 | ||
445 | Sink::Storage::EntityStore entityStore(mResourceContext); | 445 | Sink::Storage::EntityStore entityStore(mResourceContext); |
446 | auto syncStore = QSharedPointer<RemoteIdMap>::create(synchronizationTransaction); | 446 | auto syncStore = QSharedPointer<SynchronizerStore>::create(synchronizationTransaction); |
447 | 447 | ||
448 | SinkTrace() << "Inspecting " << inspectionType << domainType << entityId << property << expectedValue; | 448 | SinkTrace() << "Inspecting " << inspectionType << domainType << entityId << property << expectedValue; |
449 | 449 | ||