diff OrthancServer/Sources/ServerContext.h @ 5426:c65e036d649b

StorageCache is now storing transcoded instances + added ?transcode=... option to the /file route.
author Alain Mazy <am@osimis.io>
date Thu, 16 Nov 2023 16:09:04 +0100
parents 16cbfefa15e9
children 111e21b4f8bc
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h	Wed Nov 15 08:58:45 2023 +0100
+++ b/OrthancServer/Sources/ServerContext.h	Thu Nov 16 16:09:04 2023 +0100
@@ -556,6 +556,11 @@
                            const std::set<DicomTransferSyntax>& allowedSyntaxes,
                            bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
 
+    virtual bool TranscodeWithCache(std::string& target,
+                                    const std::string& source,
+                                    const std::string& sourceInstanceId,
+                                    DicomTransferSyntax targetSyntax);
+
     bool IsTranscodeDicomProtocol() const
     {
       return transcodeDicomProtocol_;