diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-21 22:20:31 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2014-12-21 22:20:31 +0100 |
commit | d80ff84c28c0be626c1df4528741cddf5a55f547 (patch) | |
tree | dfa1a3771f52970bfaf7b9e56d8675aeabfc65ef /common/storage.h | |
parent | d21aa4e35fb96fa3b07888f710cbc3440af8bdd3 (diff) | |
download | sink-d80ff84c28c0be626c1df4528741cddf5a55f547.tar.gz sink-d80ff84c28c0be626c1df4528741cddf5a55f547.zip |
Write-Read loop from clientside.
It's a huge hack but starts to show results.
Most urgently we need:
* reliable command results
* the 3 buffers instead of the 1
* A way to implement storage as preprocessor (or a place to impelement it after the preprocessors).
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 57ee56c..6cfa3d6 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -71,6 +71,11 @@ public: | |||
71 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); | 71 | static std::function<void(const Storage::Error &error)> basicErrorHandler(); |
72 | qint64 diskUsage() const; | 72 | qint64 diskUsage() const; |
73 | void removeFromDisk() const; | 73 | void removeFromDisk() const; |
74 | |||
75 | qint64 maxRevision(); | ||
76 | void setMaxRevision(qint64 revision); | ||
77 | |||
78 | bool exists() const; | ||
74 | private: | 79 | private: |
75 | class Private; | 80 | class Private; |
76 | Private * const d; | 81 | Private * const d; |