Mercurial > hg > orthanc
comparison OrthancServer/OrthancInitialization.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 | 05a363186da6 |
children | 058b5ade8acd |
comparison
equal
deleted
inserted
replaced
4030:100fbe970762 | 4031:e3b3af80732d |
---|---|
46 #include "../Core/OrthancException.h" | 46 #include "../Core/OrthancException.h" |
47 | 47 |
48 #include "Database/SQLiteDatabaseWrapper.h" | 48 #include "Database/SQLiteDatabaseWrapper.h" |
49 #include "OrthancConfiguration.h" | 49 #include "OrthancConfiguration.h" |
50 | 50 |
51 #include <ServerResources.h> | |
52 | |
51 #include <dcmtk/dcmnet/dul.h> // For dcmDisableGethostbyaddr() | 53 #include <dcmtk/dcmnet/dul.h> // For dcmDisableGethostbyaddr() |
52 | 54 |
53 | 55 |
54 | 56 |
55 namespace Orthanc | 57 namespace Orthanc |
262 RegisterUserMetadata(lock.GetJson()); | 264 RegisterUserMetadata(lock.GetJson()); |
263 RegisterUserContentType(lock.GetJson()); | 265 RegisterUserContentType(lock.GetJson()); |
264 | 266 |
265 LoadCustomDictionary(lock.GetJson()); | 267 LoadCustomDictionary(lock.GetJson()); |
266 | 268 |
267 lock.GetConfiguration().RegisterFont(EmbeddedResources::FONT_UBUNTU_MONO_BOLD_16); | 269 lock.GetConfiguration().RegisterFont(ServerResources::FONT_UBUNTU_MONO_BOLD_16); |
268 } | 270 } |
269 | 271 |
270 | 272 |
271 | 273 |
272 void OrthancFinalize() | 274 void OrthancFinalize() |