comparison Core/TemporaryFile.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 class TemporaryFile cannot be used in sandboxed environments 43 # error The class TemporaryFile cannot be used in sandboxed environments
42 #endif 44 #endif
43 45
46 #include <boost/noncopyable.hpp>
44 #include <string> 47 #include <string>
45 48
46 namespace Orthanc 49 namespace Orthanc
47 { 50 {
48 class TemporaryFile 51 class ORTHANC_PUBLIC TemporaryFile : public boost::noncopyable
49 { 52 {
50 private: 53 private:
51 std::string path_; 54 std::string path_;
52 55
53 public: 56 public: