summaryrefslogtreecommitdiffstats
path: root/common/storage.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/storage.h')
-rw-r--r--common/storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/storage.h b/common/storage.h
index f7dbd89..0b548fb 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -16,8 +16,8 @@ public:
16 bool write(const char *key, size_t keySize, const char *value, size_t valueSize); 16 bool write(const char *key, size_t keySize, const char *value, size_t valueSize);
17 bool write(const std::string &sKey, const std::string &sValue); 17 bool write(const std::string &sKey, const std::string &sValue);
18 //Perhaps prefer iterators (assuming we need to be able to match multiple values 18 //Perhaps prefer iterators (assuming we need to be able to match multiple values
19 void read(const std::string &sKey, const std::function<void(const std::string &value)> &); 19 bool read(const std::string &sKey, const std::function<void(const std::string &value)> &);
20 void read(const std::string &sKey, const std::function<void(void *ptr, int size)> &); 20 bool read(const std::string &sKey, const std::function<void(void *ptr, int size)> &);
21 21
22 qint64 diskUsage() const; 22 qint64 diskUsage() const;
23 void removeFromDisk() const; 23 void removeFromDisk() const;