diff OrthancServer/Sources/Database/IDatabaseWrapper.h @ 5554:12d8a1a266e9 find-refactoring

introduction of FindRequest and FindResponse
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Apr 2024 16:13:24 +0200
parents 2c5eb1ef26a0
children b0b5546f1b9f
line wrap: on
line diff
--- a/OrthancServer/Sources/Database/IDatabaseWrapper.h	Fri Mar 29 23:23:01 2024 +0100
+++ b/OrthancServer/Sources/Database/IDatabaseWrapper.h	Mon Apr 15 16:13:24 2024 +0200
@@ -28,6 +28,8 @@
 #include "../ExportedResource.h"
 #include "../Search/ISqlLookupFormatter.h"
 #include "../ServerIndexChange.h"
+#include "FindRequest.h"
+#include "FindResponse.h"
 #include "IDatabaseListener.h"
 
 #include <list>
@@ -350,6 +352,13 @@
                                           int64_t& instancesCount,
                                           int64_t& compressedSize,
                                           int64_t& uncompressedSize) = 0;
+
+      /**
+       * Primitives introduced in Orthanc 1.12.4
+       **/
+
+      virtual void ExecuteFind(FindResponse& response,
+                               const FindRequest& request) = 0;
     };