diff options
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r-- | common/synchronizer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/synchronizer.h b/common/synchronizer.h index ae597bd..989f902 100644 --- a/common/synchronizer.h +++ b/common/synchronizer.h | |||
@@ -28,10 +28,10 @@ | |||
28 | #include <storage.h> | 28 | #include <storage.h> |
29 | #include <storage/entitystore.h> | 29 | #include <storage/entitystore.h> |
30 | #include "changereplay.h" | 30 | #include "changereplay.h" |
31 | #include "remoteidmap.h" | 31 | #include "synchronizerstore.h" |
32 | 32 | ||
33 | namespace Sink { | 33 | namespace Sink { |
34 | class RemoteIdMap; | 34 | class SynchronizerStore; |
35 | 35 | ||
36 | /** | 36 | /** |
37 | * Synchronize and add what we don't already have to local queue | 37 | * Synchronize and add what we don't already have to local queue |
@@ -51,7 +51,7 @@ public: | |||
51 | Storage::EntityStore &store(); | 51 | Storage::EntityStore &store(); |
52 | 52 | ||
53 | //Read/Write access to sync storage | 53 | //Read/Write access to sync storage |
54 | RemoteIdMap &syncStore(); | 54 | SynchronizerStore &syncStore(); |
55 | 55 | ||
56 | void commit(); | 56 | void commit(); |
57 | Sink::Storage::DataStore::Transaction &syncTransaction(); | 57 | Sink::Storage::DataStore::Transaction &syncTransaction(); |
@@ -171,7 +171,7 @@ private: | |||
171 | 171 | ||
172 | Sink::ResourceContext mResourceContext; | 172 | Sink::ResourceContext mResourceContext; |
173 | Sink::Storage::EntityStore::Ptr mEntityStore; | 173 | Sink::Storage::EntityStore::Ptr mEntityStore; |
174 | QSharedPointer<RemoteIdMap> mSyncStore; | 174 | QSharedPointer<SynchronizerStore> mSyncStore; |
175 | Sink::Storage::DataStore mSyncStorage; | 175 | Sink::Storage::DataStore mSyncStorage; |
176 | Sink::Storage::DataStore::Transaction mSyncTransaction; | 176 | Sink::Storage::DataStore::Transaction mSyncTransaction; |
177 | std::function<void(int commandId, const QByteArray &data)> mEnqueue; | 177 | std::function<void(int commandId, const QByteArray &data)> mEnqueue; |