diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-30 09:32:52 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-30 09:32:52 +0100 |
commit | 02c311e38b8b9b80814a4e8e582d5c5a56a51056 (patch) | |
tree | 914255d577be2f17501c546e6d08b80aa23ca165 /common/genericresource.h | |
parent | e99453c21eb9100d6fe05ccec153fe6e640bb440 (diff) | |
download | sink-02c311e38b8b9b80814a4e8e582d5c5a56a51056.tar.gz sink-02c311e38b8b9b80814a4e8e582d5c5a56a51056.zip |
Don't expose enabling/disabling of changerecording to resource
implementations
Diffstat (limited to 'common/genericresource.h')
-rw-r--r-- | common/genericresource.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/genericresource.h b/common/genericresource.h index 9c8b977..ea68a25 100644 --- a/common/genericresource.h +++ b/common/genericresource.h | |||
@@ -44,7 +44,8 @@ public: | |||
44 | virtual ~GenericResource(); | 44 | virtual ~GenericResource(); |
45 | 45 | ||
46 | virtual void processCommand(int commandId, const QByteArray &data) Q_DECL_OVERRIDE; | 46 | virtual void processCommand(int commandId, const QByteArray &data) Q_DECL_OVERRIDE; |
47 | virtual KAsync::Job<void> synchronizeWithSource() Q_DECL_OVERRIDE = 0; | 47 | virtual KAsync::Job<void> synchronizeWithSource() Q_DECL_OVERRIDE; |
48 | virtual KAsync::Job<void> synchronizeWithSource(Akonadi2::Storage &mainStore, Akonadi2::Storage &synchronizationStore); | ||
48 | virtual KAsync::Job<void> processAllMessages() Q_DECL_OVERRIDE; | 49 | virtual KAsync::Job<void> processAllMessages() Q_DECL_OVERRIDE; |
49 | virtual void setLowerBoundRevision(qint64 revision) Q_DECL_OVERRIDE; | 50 | virtual void setLowerBoundRevision(qint64 revision) Q_DECL_OVERRIDE; |
50 | 51 | ||
@@ -52,6 +53,7 @@ public: | |||
52 | 53 | ||
53 | static void removeFromDisk(const QByteArray &instanceIdentifier); | 54 | static void removeFromDisk(const QByteArray &instanceIdentifier); |
54 | static qint64 diskUsage(const QByteArray &instanceIdentifier); | 55 | static qint64 diskUsage(const QByteArray &instanceIdentifier); |
56 | |||
55 | private Q_SLOTS: | 57 | private Q_SLOTS: |
56 | void updateLowerBoundRevision(); | 58 | void updateLowerBoundRevision(); |
57 | 59 | ||