Mercurial > hg > orthanc
diff OrthancServer/OrthancConfiguration.cpp @ 4031:e3b3af80732d
ServerResources, and moving EmbeddedResourceHttpHandler from Core to OrthancServer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 09 Jun 2020 21:31:13 +0200 |
parents | c205f670098e |
children |
line wrap: on
line diff
--- a/OrthancServer/OrthancConfiguration.cpp Tue Jun 09 20:50:20 2020 +0200 +++ b/OrthancServer/OrthancConfiguration.cpp Tue Jun 09 21:31:13 2020 +0200 @@ -584,6 +584,14 @@ } + void OrthancConfiguration::RegisterFont(ServerResources::FileResourceId resource) + { + std::string content; + ServerResources::GetFileResource(content, resource); + fontRegistry_.AddFromMemory(content); + } + + void OrthancConfiguration::GetDicomModalityUsingSymbolicName( RemoteModalityParameters& modality, const std::string& name) const