Mercurial > hg > orthanc
comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 4589:bec74e29f86b db-changes
attaching the listener to transactions in IDatabaseWrapper
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 12 Mar 2021 15:33:47 +0100 |
parents | 1d96fe7e054e |
children | ff8170d17d90 |
comparison
equal
deleted
inserted
replaced
4588:94147ce2f097 | 4589:bec74e29f86b |
---|---|
197 const std::string& value) = 0; | 197 const std::string& value) = 0; |
198 | 198 |
199 virtual void SetProtectedPatient(int64_t internalId, | 199 virtual void SetProtectedPatient(int64_t internalId, |
200 bool isProtected) = 0; | 200 bool isProtected) = 0; |
201 | 201 |
202 virtual ITransaction* StartTransaction(TransactionType type) = 0; | 202 virtual ITransaction* StartTransaction(TransactionType type, |
203 | 203 IDatabaseListener& listener) = 0; |
204 virtual void SetListener(IDatabaseListener& listener) = 0; | |
205 | 204 |
206 virtual unsigned int GetDatabaseVersion() = 0; | 205 virtual unsigned int GetDatabaseVersion() = 0; |
207 | 206 |
208 virtual void Upgrade(unsigned int targetVersion, | 207 virtual void Upgrade(unsigned int targetVersion, |
209 IStorageArea& storageArea) = 0; | 208 IStorageArea& storageArea) = 0; |