diff Plugins/Engine/OrthancPlugins.h @ 1632:eb8fbcf008b5

fix build with plugins disabled
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Sep 2015 14:05:06 +0200
parents ffd23c0104af
children 939b921b2c81
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h	Mon Sep 21 13:33:50 2015 +0200
+++ b/Plugins/Engine/OrthancPlugins.h	Mon Sep 21 14:05:06 2015 +0200
@@ -32,6 +32,19 @@
 
 #pragma once
 
+#if ORTHANC_PLUGINS_ENABLED != 1
+
+#include <boost/noncopyable.hpp>
+
+namespace Orthanc
+{
+  class OrthancPlugins : public boost::noncopyable
+  {
+  };
+}
+
+#else
+
 #include "../../Core/FileStorage/IStorageArea.h"
 #include "../../Core/HttpServer/IHttpHandler.h"
 #include "../../OrthancServer/IServerListener.h"
@@ -168,3 +181,5 @@
     const PluginsManager& GetManager() const;
   };
 }
+
+#endif