diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 15:18:13 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-01 15:18:13 +0100 |
commit | 9809045a2a71cf509857a762fac62e81c25de856 (patch) | |
tree | b74270913a41f9d9f3d243f7c8cc127dbe0e3c00 /common/storage.h | |
parent | 4aa007e5cf59288e7d548ea3f613a10ac0a6057e (diff) | |
download | sink-9809045a2a71cf509857a762fac62e81c25de856.tar.gz sink-9809045a2a71cf509857a762fac62e81c25de856.zip |
Centralized main database name
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/storage.h b/common/storage.h index 1634e8b..84175b3 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -200,6 +200,8 @@ public: | |||
200 | static QByteArray assembleKey(const QByteArray &key, qint64 revision); | 200 | static QByteArray assembleKey(const QByteArray &key, qint64 revision); |
201 | static QByteArray uidFromKey(const QByteArray &key); | 201 | static QByteArray uidFromKey(const QByteArray &key); |
202 | 202 | ||
203 | static NamedDatabase mainDatabase(const Sink::Storage::Transaction &, const QByteArray &type); | ||
204 | |||
203 | private: | 205 | private: |
204 | std::function<void(const Storage::Error &error)> mErrorHandler; | 206 | std::function<void(const Storage::Error &error)> mErrorHandler; |
205 | 207 | ||