summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2014-12-09 18:29:35 +0100
committerAaron Seigo <aseigo@kde.org>2014-12-11 00:55:20 +0100
commitdee6ec9d905f02adf384973f1548d33b24c82b8f (patch)
tree49748b0e2245fbb57c5d6f89718cb5d19a1eb816
parentf86601a7661653ec124b11a2ecbb39fddff98b16 (diff)
downloadsink-dee6ec9d905f02adf384973f1548d33b24c82b8f.tar.gz
sink-dee6ec9d905f02adf384973f1548d33b24c82b8f.zip
some TODOs
-rw-r--r--common/storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h
index 55688d4..83c307c 100644
--- a/common/storage.h
+++ b/common/storage.h
@@ -23,6 +23,9 @@ public:
23 bool startTransaction(AccessMode mode = ReadWrite); 23 bool startTransaction(AccessMode mode = ReadWrite);
24 bool commitTransaction(); 24 bool commitTransaction();
25 void abortTransaction(); 25 void abortTransaction();
26 //TODO: row removal
27 //TODO: cursor based read
28 //TODO: query?
26 bool write(const char *key, size_t keySize, const char *value, size_t valueSize); 29 bool write(const char *key, size_t keySize, const char *value, size_t valueSize);
27 bool write(const std::string &sKey, const std::string &sValue); 30 bool write(const std::string &sKey, const std::string &sValue);
28 void read(const std::string &sKey, 31 void read(const std::string &sKey,