diff OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h @ 4502:e3e759cbd19c

refactoring IStoreRequestHandler
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 09 Feb 2021 15:50:14 +0100
parents d9473bd5ed43
children 656784ac6759 94616af363ec
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h	Tue Feb 09 15:24:36 2021 +0100
+++ b/OrthancFramework/Sources/DicomNetworking/IStoreRequestHandler.h	Tue Feb 09 15:50:14 2021 +0100
@@ -28,6 +28,8 @@
 #include <string>
 #include <json/value.h>
 
+class DcmDataset;
+
 namespace Orthanc
 {
   class IStoreRequestHandler : public boost::noncopyable
@@ -37,9 +39,7 @@
     {
     }
 
-    virtual void Handle(const std::string& dicomFile,
-                        const DicomMap& dicomSummary,
-                        const Json::Value& dicomJson,
+    virtual void Handle(DcmDataset& dicom,
                         const std::string& remoteIp,
                         const std::string& remoteAet,
                         const std::string& calledAet) = 0;