diff Framework/SmartLoader.h @ 317:b66d13708f40 am-2

cleanup
author am@osimis.io
date Fri, 05 Oct 2018 11:57:36 +0200
parents b4abaeb783b1
children 3a4ca166fafa
line wrap: on
line diff
--- a/Framework/SmartLoader.h	Fri Oct 05 10:38:16 2018 +0200
+++ b/Framework/SmartLoader.h	Fri Oct 05 11:57:36 2018 +0200
@@ -24,7 +24,6 @@
 
 #include "Layers/ILayerSource.h"
 #include "Messages/IObservable.h"
-#include "../Platforms/Generic/OracleWebService.h"
 #include "Toolbox/OrthancApiClient.h"
 
 namespace OrthancStone
@@ -32,13 +31,12 @@
   class SmartLoader : public IObservable, IObserver
   {
     SliceImageQuality     imageQuality_;
-    IWebService&          webService_;
-    OrthancApiClient      orthancApiClient_;
+    OrthancApiClient&     orthancApiClient_;
 
     int studyListRequest_;
 
   public:
-    SmartLoader(MessageBroker& broker, IWebService& webService);  // TODO: add maxPreloadStorageSizeInBytes
+    SmartLoader(MessageBroker& broker, OrthancApiClient& orthancApiClient);  // TODO: add maxPreloadStorageSizeInBytes
 
     void PreloadStudy(const std::string studyId);
     void PreloadSeries(const std::string seriesId);