diff 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
line wrap: on
line diff
--- a/Core/TemporaryFile.h	Fri May 29 21:23:57 2020 +0200
+++ b/Core/TemporaryFile.h	Fri Jun 05 16:07:01 2020 +0200
@@ -33,6 +33,8 @@
 
 #pragma once
 
+#include "OrthancFramework.h"
+
 #if !defined(ORTHANC_SANDBOXED)
 #  error The macro ORTHANC_SANDBOXED must be defined
 #endif
@@ -41,11 +43,12 @@
 #  error The class TemporaryFile cannot be used in sandboxed environments
 #endif
 
+#include <boost/noncopyable.hpp>
 #include <string>
 
 namespace Orthanc
 {
-  class TemporaryFile
+  class ORTHANC_PUBLIC TemporaryFile : public boost::noncopyable
   {
   private:
     std::string path_;