diff options
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/storage.h b/common/storage.h index a8c486c..8904148 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -22,8 +22,10 @@ | |||
22 | #pragma once | 22 | #pragma once |
23 | 23 | ||
24 | #include "sink_export.h" | 24 | #include "sink_export.h" |
25 | #include "utils.h" | ||
25 | #include <string> | 26 | #include <string> |
26 | #include <functional> | 27 | #include <functional> |
28 | #include <QUuid> | ||
27 | #include <QString> | 29 | #include <QString> |
28 | #include <QMap> | 30 | #include <QMap> |
29 | 31 | ||
@@ -237,10 +239,6 @@ public: | |||
237 | static bool isInternalKey(void *key, int keySize); | 239 | static bool isInternalKey(void *key, int keySize); |
238 | static bool isInternalKey(const QByteArray &key); | 240 | static bool isInternalKey(const QByteArray &key); |
239 | 241 | ||
240 | static QByteArray assembleKey(const QByteArray &key, qint64 revision); | ||
241 | static QByteArray uidFromKey(const QByteArray &key); | ||
242 | static qint64 revisionFromKey(const QByteArray &key); | ||
243 | |||
244 | static NamedDatabase mainDatabase(const Transaction &, const QByteArray &type); | 242 | static NamedDatabase mainDatabase(const Transaction &, const QByteArray &type); |
245 | 243 | ||
246 | static QByteArray generateUid(); | 244 | static QByteArray generateUid(); |