Mercurial > hg > orthanc-stone
diff Framework/Oracle/WebAssemblyOracle.cpp @ 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 | 323bf6040f5d |
children |
line wrap: on
line diff
--- a/Framework/Oracle/WebAssemblyOracle.cpp Sat Jun 20 11:16:55 2020 +0200 +++ b/Framework/Oracle/WebAssemblyOracle.cpp Mon Jun 22 17:46:40 2020 +0200 @@ -29,6 +29,12 @@ static unsigned int BUCKET_SOP = 1; #endif +#include "GetOrthancImageCommand.h" +#include "GetOrthancWebViewerJpegCommand.h" +#include "HttpCommand.h" +#include "OrthancRestApiCommand.h" +#include "ParseDicomFromWadoCommand.h" + #include <OrthancException.h> #include <Toolbox.h> @@ -305,7 +311,7 @@ (ParseDicomSuccessMessage::ParseWadoAnswer(fileSize, answer, headers)); { - ParseDicomSuccessMessage message(command, *dicom, fileSize, true); + ParseDicomSuccessMessage message(command, command.GetSource(), *dicom, fileSize, true); context->EmitMessage(message); } @@ -674,7 +680,7 @@ reader.HasPixelData()) { // Reuse the DICOM file from the cache - ParseDicomSuccessMessage message(*protection, reader.GetDicom(), + ParseDicomSuccessMessage message(*protection, protection->GetSource(), reader.GetDicom(), reader.GetFileSize(), reader.HasPixelData()); EmitMessage(receiver, message); return;