diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 21:32:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-06-05 21:32:21 +0200 |
commit | 2d8f8861eeb1c7b5888a65ab07d51b0419feeb3e (patch) | |
tree | 10ceae2a5c7a85ba02ca2d9b603e2cabea37aba4 /common/storage.h | |
parent | 4d4028af66144535634ec8c9c4aa229758b57372 (diff) | |
download | sink-2d8f8861eeb1c7b5888a65ab07d51b0419feeb3e.tar.gz sink-2d8f8861eeb1c7b5888a65ab07d51b0419feeb3e.zip |
A central place to generate uuid's
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 a04969b..e7b4a3e 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -220,6 +220,8 @@ public: | |||
220 | 220 | ||
221 | static NamedDatabase mainDatabase(const Sink::Storage::Transaction &, const QByteArray &type); | 221 | static NamedDatabase mainDatabase(const Sink::Storage::Transaction &, const QByteArray &type); |
222 | 222 | ||
223 | static QByteArray generateUid(); | ||
224 | |||
223 | private: | 225 | private: |
224 | std::function<void(const Storage::Error &error)> mErrorHandler; | 226 | std::function<void(const Storage::Error &error)> mErrorHandler; |
225 | 227 | ||