diff OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.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 2c702cfae274
children f0038043fb97 7053502fbf97
line wrap: on
line diff
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Tue Apr 20 15:11:59 2021 +0200
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Tue Apr 20 15:59:31 2021 +0200
@@ -53,7 +53,7 @@
     void*                           database_;
     std::string                     serverIdentifier_;
 
-    void CheckSuccess(OrthancPluginErrorCode code);
+    void CheckSuccess(OrthancPluginErrorCode code) const;
 
   public:
     OrthancPluginDatabaseV3(SharedLibrary& library,
@@ -91,6 +91,8 @@
 
     virtual void Upgrade(unsigned int targetVersion,
                          IStorageArea& storageArea) ORTHANC_OVERRIDE;    
+
+    virtual bool HasRevisionsSupport() const ORTHANC_OVERRIDE;
   };
 }