diff Core/OrthancException.h @ 3991:5d2348b39392

turning toolbox namespaces into classes to control visibility in shared libraries
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 29 May 2020 21:23:57 +0200
parents 2a170a8f1faf
children f9863630ec7f
line wrap: on
line diff
--- a/Core/OrthancException.h	Fri May 29 19:43:28 2020 +0200
+++ b/Core/OrthancException.h	Fri May 29 21:23:57 2020 +0200
@@ -35,6 +35,7 @@
 
 #include "Compatibility.h"
 #include "Enumerations.h"
+#include "Exports.h"
 #include "Logging.h"
 
 #include <stdint.h>
@@ -43,7 +44,7 @@
 
 namespace Orthanc
 {
-  class OrthancException
+  class ORTHANC_PUBLIC OrthancException
   {
   private:
     OrthancException();  // Forbidden