diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-20 23:40:23 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-01-20 23:40:23 +0100 |
commit | 4f1edeb042b9d4cfe8efe5baa0f57f4eb950fd86 (patch) | |
tree | 274a1902a8fd340476da3ec36a8c4a89cf854ff5 /common/storage.h | |
parent | 31a1834a3b596a4cd2fbef8cf35adb92780bf886 (diff) | |
download | sink-4f1edeb042b9d4cfe8efe5baa0f57f4eb950fd86.tar.gz sink-4f1edeb042b9d4cfe8efe5baa0f57f4eb950fd86.zip |
Storage: support for duplicates.
Diffstat (limited to 'common/storage.h')
-rw-r--r-- | common/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage.h b/common/storage.h index 04e3142..758765e 100644 --- a/common/storage.h +++ b/common/storage.h | |||
@@ -43,7 +43,7 @@ public: | |||
43 | int code; | 43 | int code; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | Storage(const QString &storageRoot, const QString &name, AccessMode mode = ReadOnly); | 46 | Storage(const QString &storageRoot, const QString &name, AccessMode mode = ReadOnly, bool allowDuplicates = false); |
47 | ~Storage(); | 47 | ~Storage(); |
48 | bool isInTransaction() const; | 48 | bool isInTransaction() const; |
49 | bool startTransaction(AccessMode mode = ReadWrite); | 49 | bool startTransaction(AccessMode mode = ReadWrite); |