summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 23:57:09 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 23:57:09 +0200
commit9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6 (patch)
tree7cf47fd2334487a0e4f2bfef73c8e09e165dc4cc /common/storage.h
parentae0255bf8eb913004082278af27d69047503ea71 (diff)
downloadsink-9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6.tar.gz
sink-9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6.zip
Removed convenience API
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/common/storage.h b/common/storage.h
index 8a2e51f..191f535 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -130,13 +130,6 @@ public:
130 return (d != nullptr); 130 return (d != nullptr);
131 } 131 }
132 132
133 bool write(const QByteArray &key, const QByteArray &value, const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>());
134
135 void remove(const QByteArray &key,
136 const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>());
137 int scan(const QByteArray &k,
138 const std::function<bool(const QByteArray &key, const QByteArray &value)> &resultHandler,
139 const std::function<void(const Storage::Error &error)> &errorHandler = std::function<void(const Storage::Error &error)>()) const;
140 private: 133 private:
141 Transaction(Transaction& other); 134 Transaction(Transaction& other);
142 Transaction& operator=(Transaction& other); 135 Transaction& operator=(Transaction& other);