summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h
index bb8c1fa..1fde8e6 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -108,6 +108,11 @@ public:
108 void findLatest(const QByteArray &uid, const std::function<void(const QByteArray &key, const QByteArray &value)> &resultHandler, 108 void findLatest(const QByteArray &uid, const std::function<void(const QByteArray &key, const QByteArray &value)> &resultHandler,
109 const std::function<void(const DataStore::Error &error)> &errorHandler = std::function<void(const DataStore::Error &error)>()) const; 109 const std::function<void(const DataStore::Error &error)> &errorHandler = std::function<void(const DataStore::Error &error)>()) const;
110 110
111 int findAllInRange(const QByteArray &lowerBound, const QByteArray &upperBound,
112 const std::function<void(const QByteArray &key, const QByteArray &value)> &resultHandler,
113 const std::function<void(const DataStore::Error &error)> &errorHandler =
114 std::function<void(const DataStore::Error &error)>()) const;
115
111 /** 116 /**
112 * Returns true if the database contains the substring key. 117 * Returns true if the database contains the substring key.
113 */ 118 */