comparison Plugins/Engine/OrthancPluginDatabase.h @ 3051:39db63e68dcf db-changes

fix build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Dec 2018 16:49:07 +0100
parents d8a91acb7424
children c7db469bbe8e
comparison
equal deleted inserted replaced
3050:d8a91acb7424 3051:39db63e68dcf
34 #pragma once 34 #pragma once
35 35
36 #if ORTHANC_ENABLE_PLUGINS == 1 36 #if ORTHANC_ENABLE_PLUGINS == 1
37 37
38 #include "../../Core/SharedLibrary.h" 38 #include "../../Core/SharedLibrary.h"
39 #include "../../OrthancServer/IDatabaseWrapper.h" 39 #include "../../OrthancServer/Search/Compatibility/CompatibilityDatabaseWrapper.h"
40 #include "../Include/orthanc/OrthancCDatabasePlugin.h" 40 #include "../Include/orthanc/OrthancCDatabasePlugin.h"
41 #include "PluginsErrorDictionary.h" 41 #include "PluginsErrorDictionary.h"
42 42
43 namespace Orthanc 43 namespace Orthanc
44 { 44 {
45 class OrthancPluginDatabase : public IDatabaseWrapper 45 class OrthancPluginDatabase : public CompatibilityDatabaseWrapper
46 { 46 {
47 private: 47 private:
48 class Transaction; 48 class Transaction;
49 49
50 typedef std::pair<int64_t, ResourceType> AnswerResource; 50 typedef std::pair<int64_t, ResourceType> AnswerResource;
304 304
305 virtual void Upgrade(unsigned int targetVersion, 305 virtual void Upgrade(unsigned int targetVersion,
306 IStorageArea& storageArea) 306 IStorageArea& storageArea)
307 ORTHANC_OVERRIDE; 307 ORTHANC_OVERRIDE;
308 308
309 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer) 309 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
310 ORTHANC_OVERRIDE;
311 310
312 virtual bool IsDiskSizeAbove(uint64_t threshold) 311 virtual bool IsDiskSizeAbove(uint64_t threshold)
313 ORTHANC_OVERRIDE; 312 ORTHANC_OVERRIDE;
314 313
315 virtual void ApplyLookupResources(std::vector<std::string>& patientsId, 314 virtual void ApplyLookupResources(std::vector<std::string>& patientsId,