diff Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h @ 1474:d1dde1f86d4a

fix build of wasm samples
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 15 Jun 2020 18:21:34 +0200
parents 474360793956
children 169adf9090a6
line wrap: on
line diff
--- a/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h	Mon Jun 15 18:02:49 2020 +0200
+++ b/Samples/WebAssembly/SingleFrameViewer/SingleFrameViewerApplication.h	Mon Jun 15 18:21:34 2020 +0200
@@ -200,7 +200,7 @@
       return new Orthanc::SingleValueObject<Type>(type);
     }
     
-    void HandleThumbnail(const SeriesThumbnailsLoader::ThumbnailLoadedMessage& message)
+    void HandleThumbnail(const SeriesThumbnailsLoader::SuccessMessage& message)
     {
       if (observer_.get() != NULL)
       {
@@ -326,7 +326,7 @@
         application->Register<DicomResourcesLoader::SuccessMessage>(
           *application->resourcesLoader_, &WebViewerLoaders::HandleLoadedResources);
 
-        application->Register<SeriesThumbnailsLoader::ThumbnailLoadedMessage>(
+        application->Register<SeriesThumbnailsLoader::SuccessMessage>(
           *application->thumbnailsLoader_, &WebViewerLoaders::HandleThumbnail);
 
         lock->AddLoader(application);