diff OrthancServer/Sources/ServerContext.h @ 4509:98b7b9d21d83

removed ServerContext::ReadAttachment()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Feb 2021 17:11:37 +0100
parents 7b99e8bb8246
children 1ec156a0da38
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Thu Feb 11 11:00:05 2021 +0100
+++ b/OrthancServer/Sources/ServerContext.h	Thu Feb 11 17:11:37 2021 +0100
@@ -338,10 +338,7 @@
     }
 
     void ReadDicom(std::string& dicom,
-                   const std::string& instancePublicId)
-    {
-      ReadAttachment(dicom, instancePublicId, FileContentType_Dicom, true);
-    }
+                   const std::string& instancePublicId);
     
     // TODO CACHING MECHANISM AT THIS POINT
     void ReadAttachment(std::string& result,
@@ -349,9 +346,6 @@
                         FileContentType content,
                         bool uncompressIfNeeded);
     
-    void ReadAttachment(std::string& result,
-                        const FileInfo& attachment);
-
     void SetStoreMD5ForAttachments(bool storeMD5);
 
     bool IsStoreMD5ForAttachments() const