summaryrefslogtreecommitdiffstats
path: root/common/synchronizer.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-28 23:37:33 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-28 23:37:33 +0100
commit73ad9440244579ba625df970aa280e162f6f1c86 (patch)
treeaa0bd4a40ff61a789bce2536c36e37a54143d52e /common/synchronizer.h
parent2b9295f8d078081c9aecfe6047cb331ab0cd0129 (diff)
downloadsink-73ad9440244579ba625df970aa280e162f6f1c86.tar.gz
sink-73ad9440244579ba625df970aa280e162f6f1c86.zip
Renamed RemoteIdMap to SynchronizerStore
Diffstat (limited to 'common/synchronizer.h')
-rw-r--r--common/synchronizer.h8
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
33namespace Sink { 33namespace Sink {
34class RemoteIdMap; 34class 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;