# HG changeset patch
# User Sebastien Jodogne <s.jodogne@gmail.com>
# Date 1706602607 -3600
# Node ID bbe45a71f5cd459a1dad4ec461a7fde2aa3783fa
# Parent  0d433132b2492422a5f1aa0f4965e42c8f2e178c
reorganization

diff -r 0d433132b249 -r bbe45a71f5cd OrthancServer/Plugins/Engine/OrthancPluginDatabase.h
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h	Mon Jan 29 19:19:52 2024 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabase.h	Tue Jan 30 09:16:47 2024 +0100
@@ -109,11 +109,6 @@
       return dbCapabilities_;
     }
 
-    virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE
-    {
-      throw OrthancException(ErrorCode_NotImplemented);  // only implemented in V4
-    }
-
     void AnswerReceived(const _OrthancPluginDatabaseAnswer& answer);
   };
 }
diff -r 0d433132b249 -r bbe45a71f5cd OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h
--- a/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Mon Jan 29 19:19:52 2024 +0100
+++ b/OrthancServer/Plugins/Engine/OrthancPluginDatabaseV3.h	Tue Jan 30 09:16:47 2024 +0100
@@ -77,11 +77,6 @@
     virtual void Upgrade(unsigned int targetVersion,
                          IStorageArea& storageArea) ORTHANC_OVERRIDE;    
 
-    virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE
-    {
-      throw OrthancException(ErrorCode_NotImplemented);  // only implemented in V4
-    }
-
     virtual const Capabilities GetDatabaseCapabilities() const ORTHANC_OVERRIDE
     {
       return dbCapabilities_;
diff -r 0d433132b249 -r bbe45a71f5cd OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp
--- a/OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp	Mon Jan 29 19:19:52 2024 +0100
+++ b/OrthancServer/Sources/Database/BaseDatabaseWrapper.cpp	Tue Jan 30 09:16:47 2024 +0100
@@ -43,4 +43,10 @@
   {
     throw OrthancException(ErrorCode_NotImplemented);  // Not supported
   }
+
+
+  uint64_t BaseDatabaseWrapper::MeasureLatency()
+  {
+    throw OrthancException(ErrorCode_NotImplemented);  // only implemented in V4
+  }
 }
diff -r 0d433132b249 -r bbe45a71f5cd OrthancServer/Sources/Database/BaseDatabaseWrapper.h
--- a/OrthancServer/Sources/Database/BaseDatabaseWrapper.h	Mon Jan 29 19:19:52 2024 +0100
+++ b/OrthancServer/Sources/Database/BaseDatabaseWrapper.h	Tue Jan 30 09:16:47 2024 +0100
@@ -47,5 +47,7 @@
                                           int64_t& compressedSize,
                                           int64_t& uncompressedSize) ORTHANC_OVERRIDE;
     };
+
+    virtual uint64_t MeasureLatency() ORTHANC_OVERRIDE;
   };
 }