diff OrthancServer/ServerContext.h @ 3906:f0dd5ded8927 transcoding

refactoring using IDicomTranscoder::TranscodedDicom
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 08 May 2020 11:16:16 +0200
parents c62f84c7eda9
children 1f71c2f20e16
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Fri May 08 08:27:18 2020 +0200
+++ b/OrthancServer/ServerContext.h	Fri May 08 11:16:16 2020 +0200
@@ -465,9 +465,11 @@
 
     // This method can be used even if the global option
     // "TranscodingEnabled" is set to "false"
-    bool Transcode(std::string& target,
-                   bool& hasSopInstanceUidChanged,
-                   ParsedDicomFile& dicom, // Can possibly be modified
+    bool Transcode(std::string& target /* out */,
+                   DicomTransferSyntax& sourceSyntax /* out */,
+                   DicomTransferSyntax& targetSyntax /* out */,
+                   bool& hasSopInstanceUidChanged /* out */,
+                   ParsedDicomFile& dicom, // Possibly modified
                    const std::set<DicomTransferSyntax>& allowedSyntaxes,
                    bool allowNewSopInstanceUid);
   };