Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerContext.h @ 4473:68f52897c119
new URIs: /tools/accepted-transfer-syntaxes and /tools/unknown-sop-class-accepted to replace Lua callbacks for transfer syntaxes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 26 Jan 2021 14:48:10 +0100 |
parents | fe774d8e904b |
children | 7b99e8bb8246 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerContext.h Tue Jan 26 10:18:50 2021 +0100 +++ b/OrthancServer/Sources/ServerContext.h Tue Jan 26 14:48:10 2021 +0100 @@ -225,7 +225,12 @@ DicomTransferSyntax ingestTransferSyntax_; bool ingestTranscodingOfUncompressed_; bool ingestTranscodingOfCompressed_; - DicomTransferSyntax preferredTransferSyntax_; // New in Orthanc 1.9.0 + + // New in Orthanc 1.9.0 + DicomTransferSyntax preferredTransferSyntax_; + boost::mutex dynamicOptionsMutex_; + bool isUnknownSopClassAccepted_; + std::set<DicomTransferSyntax> acceptedTransferSyntaxes_; StoreStatus StoreAfterTranscoding(std::string& resultPublicId, DicomInstanceToStore& dicom, @@ -503,5 +508,13 @@ } const std::string& GetDeidentifiedContent(const DicomElement& element) const; + + void GetAcceptedTransferSyntaxes(std::set<DicomTransferSyntax>& syntaxes); + + void SetAcceptedTransferSyntaxes(const std::set<DicomTransferSyntax>& syntaxes); + + bool IsUnknownSopClassAccepted(); + + void SetUnknownSopClassAccepted(bool accepted); }; }