Mercurial > hg > orthanc
diff Core/Images/FontRegistry.h @ 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 | 100fbe970762 |
children |
line wrap: on
line diff
--- a/Core/Images/FontRegistry.h Tue Jun 09 20:50:20 2020 +0200 +++ b/Core/Images/FontRegistry.h Tue Jun 09 21:31:13 2020 +0200 @@ -35,14 +35,6 @@ #include "Font.h" -#if !defined(ORTHANC_HAS_EMBEDDED_RESOURCES) -# error Macro ORTHANC_HAS_EMBEDDED_RESOURCES must be defined -#endif - -#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 -# include <OrthancEmbeddedResources.h> // Autogenerated file -#endif - namespace Orthanc { class ORTHANC_PUBLIC FontRegistry : public boost::noncopyable @@ -61,10 +53,6 @@ void AddFromFile(const std::string& path); #endif -#if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 - void AddFromResource(EmbeddedResources::FileResourceId resource); -#endif - size_t GetSize() const { return fonts_.size();