diff Plugins/Engine/PluginsEnumerations.h @ 2006:6301bbcbcaed

more generic support of value representations
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 09 Jun 2016 14:48:40 +0200
parents ef1e9856c26f
children dd609a99d39a
line wrap: on
line diff
--- a/Plugins/Engine/PluginsEnumerations.h	Wed Jun 08 12:36:21 2016 +0200
+++ b/Plugins/Engine/PluginsEnumerations.h	Thu Jun 09 14:48:40 2016 +0200
@@ -37,10 +37,6 @@
 #include "../Include/orthanc/OrthancCPlugin.h"
 #include "../../OrthancServer/ServerEnumerations.h"
 
-#if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0
-#include <dcmtk/dcmdata/dcvr.h>
-#endif
-
 namespace Orthanc
 {
   namespace Plugins
@@ -69,11 +65,9 @@
 
     OrthancPluginHttpMethod Convert(HttpMethod method);
 
-#if !defined(ORTHANC_ENABLE_DCMTK) || ORTHANC_ENABLE_DCMTK != 0
-    DcmEVR Convert(OrthancPluginValueRepresentation vr);
+    ValueRepresentation Convert(OrthancPluginValueRepresentation vr);
 
-    OrthancPluginValueRepresentation Convert(DcmEVR vr);
-#endif
+    OrthancPluginValueRepresentation Convert(ValueRepresentation vr);
   }
 }