Mercurial > hg > orthanc
diff Core/DicomParsing/ParsedDicomFile.h @ 2512:4dcafa8d6633
SystemToolbox::GenerateUuid moved to Toolbox::GenerateUuid
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 28 Mar 2018 15:20:50 +0200 |
parents | 83b8b6743531 |
children | 6db878376018 |
line wrap: on
line diff
--- a/Core/DicomParsing/ParsedDicomFile.h Wed Mar 28 14:18:02 2018 +0200 +++ b/Core/DicomParsing/ParsedDicomFile.h Wed Mar 28 15:20:50 2018 +0200 @@ -49,6 +49,10 @@ # error Macro ORTHANC_ENABLE_MONGOOSE must be defined to use this file #endif +#if !defined(ORTHANC_SANDBOXED) +# error The macro ORTHANC_SANDBOXED must be defined +#endif + #include "ITagVisitor.h" #include "../DicomFormat/DicomInstanceHasher.h" #include "../Images/ImageAccessor.h" @@ -160,7 +164,9 @@ void SaveToMemoryBuffer(std::string& buffer); +#if ORTHANC_SANDBOXED == 0 void SaveToFile(const std::string& path); +#endif void EmbedContent(const std::string& dataUriScheme);