diff options
Diffstat (limited to 'store/database.h')
-rw-r--r-- | store/database.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/store/database.h b/store/database.h index e752ff5..1cede39 100644 --- a/store/database.h +++ b/store/database.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; |