comparison Core/SharedLibrary.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
48 #include <string> 50 #include <string>
49 #include <boost/noncopyable.hpp> 51 #include <boost/noncopyable.hpp>
50 52
51 namespace Orthanc 53 namespace Orthanc
52 { 54 {
53 class SharedLibrary : public boost::noncopyable 55 class ORTHANC_PUBLIC SharedLibrary : public boost::noncopyable
54 { 56 {
55 public: 57 public:
56 #if defined(_WIN32) 58 #if defined(_WIN32)
57 typedef FARPROC FunctionPointer; 59 typedef FARPROC FunctionPointer;
58 #else 60 #else