diff options
author | Aaron Seigo <aseigo@kde.org> | 2014-12-14 10:16:42 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2014-12-14 10:19:09 +0100 |
commit | 29c1f7072db7484c214a7f6056faad0ffd83c71f (patch) | |
tree | 086cfb9997268cef5dc919bf724e1479946cb551 /common/storage.h | |
parent | 9ee8378d393778ac67314be7ea8d5bcbaeee9ee0 (diff) | |
download | sink-29c1f7072db7484c214a7f6056faad0ffd83c71f.tar.gz sink-29c1f7072db7484c214a7f6056faad0ffd83c71f.zip |
remove readAll in favor of using scan
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/storage.h b/common/storage.h index 64a632d..a051043 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -41,8 +41,6 @@ public: | |||
41 | void scan(const char *keyData, uint keySize, | 41 | void scan(const char *keyData, uint keySize, |
42 | const std::function<bool(void *keyPtr, int keySize, void *ptr, int size)> &resultHandler, | 42 | const std::function<bool(void *keyPtr, int keySize, void *ptr, int size)> &resultHandler, |
43 | const std::function<void(const Storage::Error &error)> &errorHandler); | 43 | const std::function<void(const Storage::Error &error)> &errorHandler); |
44 | void readAll(const std::function<bool(void *key, int keySize, void *data, int dataSize)> &resultHandler, | ||
45 | const std::function<void(const Storage::Error &error)> &errorHandler); | ||
46 | 44 | ||
47 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); | 45 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); |
48 | qint64 diskUsage() const; | 46 | qint64 diskUsage() const; |