diff Plugins/Engine/PluginsEnumerations.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 8dc468f44661
children da799f767e5d
line wrap: on
line diff
--- a/Plugins/Engine/PluginsEnumerations.h	Mon Sep 21 13:33:50 2015 +0200
+++ b/Plugins/Engine/PluginsEnumerations.h	Mon Sep 21 14:05:06 2015 +0200
@@ -32,10 +32,11 @@
 
 #pragma once
 
+#if ORTHANC_PLUGINS_ENABLED == 1
+
 #include "../Include/orthanc/OrthancCPlugin.h"
 #include "../../OrthancServer/ServerEnumerations.h"
 
-
 namespace Orthanc
 {
   namespace Plugins
@@ -55,3 +56,5 @@
     FileContentType Convert(OrthancPluginContentType type);
   }
 }
+
+#endif