Mercurial > hg > orthanc
diff OrthancServer/Sources/OrthancConfiguration.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 | d9473bd5ed43 |
children | f8c1d94363b6 |
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancConfiguration.h Tue Jan 26 10:18:50 2021 +0100 +++ b/OrthancServer/Sources/OrthancConfiguration.h Tue Jan 26 14:48:10 2021 +0100 @@ -160,6 +160,7 @@ void Read(const char* configurationFile); + // "SetServerIndex()" must have been called void LoadModalitiesAndPeers(); void RegisterFont(ServerResources::FileResourceId resource); @@ -246,6 +247,8 @@ return GetStringParameter("DicomAet", "ORTHANC"); } + void GetAcceptedTransferSyntaxes(std::set<DicomTransferSyntax>& target) const; + static void DefaultExtractDicomSummary(DicomMap& target, const ParsedDicomFile& dicom); @@ -258,5 +261,8 @@ static void DefaultDicomHeaderToJson(Json::Value& target, const ParsedDicomFile& dicom); + + static void ParseAcceptedTransferSyntaxes(std::set<DicomTransferSyntax>& target, + const std::string& source); }; }