comparison 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
comparison
equal deleted inserted replaced
4501:11c2ddb4e2ca 4502:e3e759cbd19c
26 26
27 #include <vector> 27 #include <vector>
28 #include <string> 28 #include <string>
29 #include <json/value.h> 29 #include <json/value.h>
30 30
31 class DcmDataset;
32
31 namespace Orthanc 33 namespace Orthanc
32 { 34 {
33 class IStoreRequestHandler : public boost::noncopyable 35 class IStoreRequestHandler : public boost::noncopyable
34 { 36 {
35 public: 37 public:
36 virtual ~IStoreRequestHandler() 38 virtual ~IStoreRequestHandler()
37 { 39 {
38 } 40 }
39 41
40 virtual void Handle(const std::string& dicomFile, 42 virtual void Handle(DcmDataset& dicom,
41 const DicomMap& dicomSummary,
42 const Json::Value& dicomJson,
43 const std::string& remoteIp, 43 const std::string& remoteIp,
44 const std::string& remoteAet, 44 const std::string& remoteAet,
45 const std::string& calledAet) = 0; 45 const std::string& calledAet) = 0;
46 }; 46 };
47 } 47 }