diff Core/Images/Font.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 100fbe970762
line wrap: on
line diff
--- a/Core/Images/Font.h	Fri May 29 21:23:57 2020 +0200
+++ b/Core/Images/Font.h	Fri Jun 05 16:07:01 2020 +0200
@@ -33,6 +33,9 @@
 
 #pragma once
 
+// To have ORTHANC_HAS_EMBEDDED_RESOURCES defined if using the shared library
+#include "../OrthancFramework.h"
+
 #if !defined(ORTHANC_HAS_EMBEDDED_RESOURCES)
 #  error Macro ORTHANC_HAS_EMBEDDED_RESOURCES must be defined
 #endif
@@ -50,7 +53,7 @@
 
 namespace Orthanc
 {
-  class Font : public boost::noncopyable
+  class ORTHANC_PUBLIC Font : public boost::noncopyable
   {
   private:
     struct Character