diff Framework/Loaders/DicomResourcesLoader.h @ 1484:121d01aa328e

SeriesThumbnailsLoader working on raw dicom files
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 22 Jun 2020 17:46:40 +0200
parents 474360793956
children
line wrap: on
line diff
--- a/Framework/Loaders/DicomResourcesLoader.h	Sat Jun 20 11:16:55 2020 +0200
+++ b/Framework/Loaders/DicomResourcesLoader.h	Mon Jun 22 17:46:40 2020 +0200
@@ -27,11 +27,6 @@
 #  error The macro ORTHANC_ENABLE_DCMTK must be defined
 #endif
 
-#if ORTHANC_ENABLE_DCMTK == 1
-#  include "../Oracle/ParseDicomFromFileCommand.h"
-#  include <DicomParsing/ParsedDicomDir.h>
-#endif
-
 #include "../Oracle/HttpCommand.h"
 #include "../Oracle/OracleCommandExceptionMessage.h"
 #include "../Oracle/OrthancRestApiCommand.h"
@@ -41,8 +36,19 @@
 #include "LoadedDicomResources.h"
 #include "OracleScheduler.h"
 
+namespace Orthanc
+{
+#if ORTHANC_ENABLE_DCMTK == 1
+  class ParsedDicomDir;
+#endif
+}
+
 namespace OrthancStone
 {
+#if ORTHANC_ENABLE_DCMTK == 1
+  class ParseDicomFromFileCommand;
+#endif
+  
   class DicomResourcesLoader :
     public ObserverBase<DicomResourcesLoader>,
     public IObservable