diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-18 10:38:36 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-12-18 10:38:36 +0100 |
commit | 23e807c133a23f924d56bc860aa34f62f09109ff (patch) | |
tree | 92d8584902d1cc902c8a1b8d7464427035257ccf /common/storage.h | |
parent | 765f27cf52497bc401579db38f0011d90fb75cbb (diff) | |
download | sink-23e807c133a23f924d56bc860aa34f62f09109ff.tar.gz sink-23e807c133a23f924d56bc860aa34f62f09109ff.zip |
Detect modifications and removals on folders in the maildirresource
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 22bf06c..daeace8 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -90,6 +90,11 @@ public: | |||
90 | const std::function<void(const QByteArray &key, const QByteArray &value)> &resultHandler, | 90 | const std::function<void(const QByteArray &key, const QByteArray &value)> &resultHandler, |
91 | const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()) const; | 91 | const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()) const; |
92 | 92 | ||
93 | /** | ||
94 | * Returns true if the database contains the substring key. | ||
95 | */ | ||
96 | bool contains(const QByteArray &uid); | ||
97 | |||
93 | NamedDatabase(NamedDatabase&& other) : d(other.d) | 98 | NamedDatabase(NamedDatabase&& other) : d(other.d) |
94 | { | 99 | { |
95 | d = other.d; | 100 | d = other.d; |