diff options
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; |