diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-11 20:56:32 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-11 20:56:32 +0100 |
commit | a773a60c694bd3e112b33d6ce300d419ad56ccc2 (patch) | |
tree | 8d1c73714531cc494b6636143c0bd770f59cee67 /common/storage.h | |
parent | 091412c472b10ca61ada445c19bf3c95cd4e8e40 (diff) | |
download | sink-a773a60c694bd3e112b33d6ce300d419ad56ccc2.tar.gz sink-a773a60c694bd3e112b33d6ce300d419ad56ccc2.zip |
Error handling for remove.
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 075fcfd..04e3142 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -68,6 +68,8 @@ public: | |||
68 | const std::function<bool(void *keyPtr, int keySize, void *ptr, int size)> &resultHandler, | 68 | const std::function<bool(void *keyPtr, int keySize, void *ptr, int size)> &resultHandler, |
69 | const std::function<void(const Storage::Error &error)> &errorHandler); | 69 | const std::function<void(const Storage::Error &error)> &errorHandler); |
70 | void remove(void const *keyData, uint keySize); | 70 | void remove(void const *keyData, uint keySize); |
71 | void remove(void const *keyData, uint keySize, | ||
72 | const std::function<void(const Storage::Error &error)> &errorHandler); | ||
71 | 73 | ||
72 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); | 74 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); |
73 | qint64 diskUsage() const; | 75 | qint64 diskUsage() const; |