comparison OrthancServer/Plugins/Engine/OrthancPluginDatabase.h @ 4628:5fabef29c4ff db-changes

added new primitive "hasRevisionsSupport" in database SDK, added "CheckRevisions" to URI "/system"
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Apr 2021 15:59:31 +0200
parents c125bfd31023
children f0038043fb97 7053502fbf97
comparison
equal deleted inserted replaced
4627:f7d5372b59b3 4628:5fabef29c4ff
117 virtual unsigned int GetDatabaseVersion() ORTHANC_OVERRIDE; 117 virtual unsigned int GetDatabaseVersion() ORTHANC_OVERRIDE;
118 118
119 virtual void Upgrade(unsigned int targetVersion, 119 virtual void Upgrade(unsigned int targetVersion,
120 IStorageArea& storageArea) ORTHANC_OVERRIDE; 120 IStorageArea& storageArea) ORTHANC_OVERRIDE;
121 121
122 virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE
123 {
124 return false; // No support for revisions in old API
125 }
126
122 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer); 127 void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
123 }; 128 };
124 } 129 }
125 130
126 #endif 131 #endif