diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-29 00:52:07 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-09-29 00:52:07 +0200 |
commit | c3f6e72c2d46906a4699127b558ca248729ce577 (patch) | |
tree | a2066e43b45a01226e19bbb309fabf7064018a06 /common/storage.h | |
parent | b43c422a2b1b899ce5ac27a0bc381e8a49f05d86 (diff) | |
download | sink-c3f6e72c2d46906a4699127b558ca248729ce577.tar.gz sink-c3f6e72c2d46906a4699127b558ca248729ce577.zip |
Revision cleanup
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 98b12ed..9459f04 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -168,6 +168,11 @@ public: | |||
168 | static qint64 maxRevision(const Akonadi2::Storage::Transaction &); | 168 | static qint64 maxRevision(const Akonadi2::Storage::Transaction &); |
169 | static void setMaxRevision(Akonadi2::Storage::Transaction &, qint64 revision); | 169 | static void setMaxRevision(Akonadi2::Storage::Transaction &, qint64 revision); |
170 | 170 | ||
171 | static QByteArray getUidFromRevision(const Akonadi2::Storage::Transaction &, qint64 revision); | ||
172 | static QByteArray getTypeFromRevision(const Akonadi2::Storage::Transaction &, qint64 revision); | ||
173 | static void recordRevision(Akonadi2::Storage::Transaction &, qint64 revision, const QByteArray &uid, const QByteArray &type); | ||
174 | static void removeRevision(Akonadi2::Storage::Transaction &, qint64 revision); | ||
175 | |||
171 | bool exists() const; | 176 | bool exists() const; |
172 | 177 | ||
173 | static bool isInternalKey(const char *key); | 178 | static bool isInternalKey(const char *key); |