diff Core/Images/JpegWriter.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
line wrap: on
line diff
--- a/Core/Images/JpegWriter.h	Tue Nov 22 15:03:14 2016 +0100
+++ b/Core/Images/JpegWriter.h	Wed Nov 23 11:45:02 2016 +0100
@@ -46,12 +46,14 @@
                                      PixelFormat format,
                                      const void* buffer);
 
+#if ORTHANC_SANDBOXED == 0
     virtual void WriteToMemoryInternal(std::string& jpeg,
                                        unsigned int width,
                                        unsigned int height,
                                        unsigned int pitch,
                                        PixelFormat format,
                                        const void* buffer);
+#endif
 
   private:
     uint8_t  quality_;