Mercurial > hg > orthanc
diff Core/DicomNetworking/RemoteModalityParameters.h @ 3894:8f7ad4989fec transcoding
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 May 2020 11:13:29 +0200 |
parents | f6a73611ec5c |
children |
line wrap: on
line diff
--- a/Core/DicomNetworking/RemoteModalityParameters.h Wed May 06 12:48:28 2020 +0200 +++ b/Core/DicomNetworking/RemoteModalityParameters.h Thu May 07 11:13:29 2020 +0200 @@ -55,6 +55,7 @@ bool allowGet_; bool allowNAction_; bool allowNEventReport_; + bool allowTranscoding_; void Clear(); @@ -131,5 +132,15 @@ void Serialize(Json::Value& target, bool forceAdvancedFormat) const; + + bool IsTranscodingAllowed() const + { + return allowTranscoding_; + } + + void SetTranscodingAllowed(bool allowed) + { + allowTranscoding_ = allowed; + } }; }