diff Core/HttpServer/HttpServer.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/HttpServer/HttpServer.h	Fri May 29 21:23:57 2020 +0200
+++ b/Core/HttpServer/HttpServer.h	Fri Jun 05 16:07:01 2020 +0200
@@ -33,6 +33,9 @@
 
 #pragma once
 
+// To have ORTHANC_ENABLE_xxx defined if using the shared library
+#include "../OrthancFramework.h"
+
 #if !defined(ORTHANC_ENABLE_MONGOOSE)
 #  error Macro ORTHANC_ENABLE_MONGOOSE must be defined to include this file
 #endif
@@ -74,7 +77,7 @@
   };
 
 
-  class HttpServer
+  class ORTHANC_PUBLIC HttpServer : public boost::noncopyable
   {
   private:
     // http://stackoverflow.com/questions/311166/stdauto-ptr-or-boostshared-ptr-for-pimpl-idiom