comparison Core/FileBuffer.h @ 3992:f9863630ec7f

working on the shared library for Orthanc framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jun 2020 16:07:01 +0200
parents 94f4a18a79cc
children
comparison
equal deleted inserted replaced
3991:5d2348b39392 3992:f9863630ec7f
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 #include "OrthancFramework.h"
37
36 #if !defined(ORTHANC_SANDBOXED) 38 #if !defined(ORTHANC_SANDBOXED)
37 # error The macro ORTHANC_SANDBOXED must be defined 39 # error The macro ORTHANC_SANDBOXED must be defined
38 #endif 40 #endif
39 41
40 #if ORTHANC_SANDBOXED == 1 42 #if ORTHANC_SANDBOXED == 1
41 # error The namespace SystemToolbox cannot be used in sandboxed environments 43 # error The class FileBuffer cannot be used in sandboxed environments
42 #endif 44 #endif
43 45
44 #include <boost/noncopyable.hpp> 46 #include <boost/noncopyable.hpp>
45 #include <boost/shared_ptr.hpp> 47 #include <boost/shared_ptr.hpp>
46 48
47 49
48 namespace Orthanc 50 namespace Orthanc
49 { 51 {
50 class FileBuffer : public boost::noncopyable 52 class ORTHANC_PUBLIC FileBuffer : public boost::noncopyable
51 { 53 {
52 private: 54 private:
53 class PImpl; 55 class PImpl;
54 boost::shared_ptr<PImpl> pimpl_; 56 boost::shared_ptr<PImpl> pimpl_;
55 57