diff Applications/Samples/SingleFrameApplication.h @ 71:30c768873d47 wasm

OrthancSliceLoader::ScheduleLoadInstance
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 May 2017 10:27:18 +0200
parents 298f375dcb68
children 93b917b02fee
line wrap: on
line diff
--- a/Applications/Samples/SingleFrameApplication.h	Mon May 22 21:43:49 2017 +0200
+++ b/Applications/Samples/SingleFrameApplication.h	Wed May 24 10:27:18 2017 +0200
@@ -53,11 +53,9 @@
       
       virtual void NotifySlicesAvailable(const ParallelSlices& slices)
       {
-        printf("ICI\n");
         if (widget_ != NULL &&
             slices.GetSliceCount() > 0)
         {
-          printf("GO\n");
           widget_->SetSlice(slices.GetSlice(0), 1.0 /* TODO */);
         }
       }
@@ -113,7 +111,7 @@
 #else
         std::auto_ptr<LayerWidget> widget(new LayerWidget);
 
-#if 0
+#if 1
         std::auto_ptr<OrthancFrameLayerSource> layer
           (new OrthancFrameLayerSource(context.GetWebService(), instance, frame));
         layer->SetObserver(*this);