diff Framework/Deprecated/Toolbox/OrthancSlicesLoader.h @ 1068:04a95ee91327 broker

recovery of OrthancStoneSingleFrame
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 15 Oct 2019 19:36:57 +0200
parents b537002f83a9
children 0ca50d275b9a
line wrap: on
line diff
--- a/Framework/Deprecated/Toolbox/OrthancSlicesLoader.h	Tue Oct 15 18:11:40 2019 +0200
+++ b/Framework/Deprecated/Toolbox/OrthancSlicesLoader.h	Tue Oct 15 19:36:57 2019 +0200
@@ -146,7 +146,7 @@
 
     class Operation;
 
-    OrthancApiClient&  orthanc_;
+    boost::shared_ptr<OrthancApiClient>  orthanc_;
     State         state_;
     OrthancStone::SlicesSorter  slices_;
 
@@ -187,7 +187,7 @@
     
   public:
     OrthancSlicesLoader(//ISliceLoaderObserver& callback,
-                        OrthancApiClient& orthancApi);
+      boost::shared_ptr<OrthancApiClient> orthancApi);
 
     void ScheduleLoadSeries(const std::string& seriesId);