diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-03 11:13:41 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-03 11:13:41 +0200 |
commit | 709f24f25b6c22b1eafc323855ea166034110e0b (patch) | |
tree | 226be5b4d0257fca8227f5848875b4fa353c5476 /common/sourcewriteback.h | |
parent | b5789da647bfdba9e3cc9b0595271b4d8c42bb8c (diff) | |
download | sink-709f24f25b6c22b1eafc323855ea166034110e0b.tar.gz sink-709f24f25b6c22b1eafc323855ea166034110e0b.zip |
Using the entityStore to read anything except the current revision is
probably a bad idea.
Diffstat (limited to 'common/sourcewriteback.h')
-rw-r--r-- | common/sourcewriteback.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/sourcewriteback.h b/common/sourcewriteback.h index 8470e00..6c6eaab 100644 --- a/common/sourcewriteback.h +++ b/common/sourcewriteback.h | |||
@@ -45,13 +45,13 @@ protected: | |||
45 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Mail &, Sink::Operation, const QByteArray &oldRemoteId); | 45 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Mail &, Sink::Operation, const QByteArray &oldRemoteId); |
46 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Folder &, Sink::Operation, const QByteArray &oldRemoteId); | 46 | virtual KAsync::Job<QByteArray> replay(const Sink::ApplicationDomain::Folder &, Sink::Operation, const QByteArray &oldRemoteId); |
47 | 47 | ||
48 | //Read only access to main storage | ||
49 | EntityStore &store(); | ||
50 | |||
51 | //Read/Write access to sync storage | 48 | //Read/Write access to sync storage |
52 | RemoteIdMap &syncStore(); | 49 | RemoteIdMap &syncStore(); |
53 | 50 | ||
54 | private: | 51 | private: |
52 | //Read only access to main storage | ||
53 | EntityStore &store(); | ||
54 | |||
55 | Sink::Storage mSyncStorage; | 55 | Sink::Storage mSyncStorage; |
56 | QSharedPointer<RemoteIdMap> mSyncStore; | 56 | QSharedPointer<RemoteIdMap> mSyncStore; |
57 | QSharedPointer<EntityStore> mEntityStore; | 57 | QSharedPointer<EntityStore> mEntityStore; |