comparison Core/Images/IImageWriter.cpp @ 2143:fd5875662670

creation of namespace SystemToolbox
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Nov 2016 16:54:23 +0100
parents aa4b8895cd23
children baf8dd89b4e0
comparison
equal deleted inserted replaced
2142:5a8840920121 2143:fd5875662670
31 31
32 32
33 #include "IImageWriter.h" 33 #include "IImageWriter.h"
34 34
35 #include "../OrthancException.h" 35 #include "../OrthancException.h"
36 #include "../Toolbox.h" 36
37 #if !defined(ORTHANC_SANDBOXED)
38 # error The macro ORTHANC_SANDBOXED must be defined
39 #endif
40
41 #if ORTHANC_SANDBOXED == 0
42 # include "../SystemToolbox.h"
43 #endif
37 44
38 namespace Orthanc 45 namespace Orthanc
39 { 46 {
40 void IImageWriter::WriteToFileInternal(const std::string& path, 47 void IImageWriter::WriteToFileInternal(const std::string& path,
41 unsigned int width, 48 unsigned int width,