Mercurial > hg > orthanc
comparison Core/Images/FontRegistry.h @ 2407:5edec967055e
fix sandboxed builds
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 20 Sep 2017 17:02:27 +0200 |
parents | 4900688827a8 |
children | 878b59270859 |
comparison
equal
deleted
inserted
replaced
2406:f0cfacd0c9b8 | 2407:5edec967055e |
---|---|
55 public: | 55 public: |
56 ~FontRegistry(); | 56 ~FontRegistry(); |
57 | 57 |
58 void AddFromMemory(const std::string& font); | 58 void AddFromMemory(const std::string& font); |
59 | 59 |
60 #if ORTHANC_SANDBOXED == 0 | |
60 void AddFromFile(const std::string& path); | 61 void AddFromFile(const std::string& path); |
62 #endif | |
61 | 63 |
62 #if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 | 64 #if ORTHANC_HAS_EMBEDDED_RESOURCES == 1 |
63 void AddFromResource(EmbeddedResources::FileResourceId resource); | 65 void AddFromResource(EmbeddedResources::FileResourceId resource); |
64 #endif | 66 #endif |
65 | 67 |