comparison Core/Images/PngWriter.h @ 2170:baf8dd89b4e0

improved support for sandboxed environments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Nov 2016 11:45:02 +0100
parents 5bcf721bde4f
children a3a65de1840f
comparison
equal deleted inserted replaced
2169:d15de5685ad8 2170:baf8dd89b4e0
46 unsigned int height, 46 unsigned int height,
47 unsigned int pitch, 47 unsigned int pitch,
48 PixelFormat format, 48 PixelFormat format,
49 const void* buffer); 49 const void* buffer);
50 50
51 #if ORTHANC_SANDBOXED == 0
51 virtual void WriteToMemoryInternal(std::string& png, 52 virtual void WriteToMemoryInternal(std::string& png,
52 unsigned int width, 53 unsigned int width,
53 unsigned int height, 54 unsigned int height,
54 unsigned int pitch, 55 unsigned int pitch,
55 PixelFormat format, 56 PixelFormat format,
56 const void* buffer); 57 const void* buffer);
58 #endif
57 59
58 private: 60 private:
59 struct PImpl; 61 struct PImpl;
60 boost::shared_ptr<PImpl> pimpl_; 62 boost::shared_ptr<PImpl> pimpl_;
61 63