Mercurial > hg > orthanc-stone
diff Framework/SmartLoader.h @ 270:2d64f4d39610 am-2
backup (work in progress)
author | am@osimis.io |
---|---|
date | Thu, 23 Aug 2018 14:45:04 +0200 |
parents | 5bd4161bf11b |
children | 8f5d7495076d |
line wrap: on
line diff
--- a/Framework/SmartLoader.h Wed Aug 22 15:22:33 2018 +0200 +++ b/Framework/SmartLoader.h Thu Aug 23 14:45:04 2018 +0200 @@ -24,15 +24,17 @@ #include "Layers/ILayerSource.h" #include "Messages/IObservable.h" #include "../Platforms/Generic/OracleWebService.h" +#include "Toolbox/OrthancApiClient.h" namespace OrthancStone { class SmartLoader : public IObservable, IObserver { - SliceImageQuality imageQuality_; - IWebService& webService_; + SliceImageQuality imageQuality_; + IWebService& webService_; + OrthancApiClient orthancApiClient_; - + int studyListRequest_; public: SmartLoader(MessageBroker& broker, IWebService& webService); // TODO: add maxPreloadStorageSizeInBytes @@ -40,6 +42,7 @@ void PreloadStudy(const std::string studyId); void PreloadSeries(const std::string seriesId); + void LoadStudyList(); void SetImageQuality(SliceImageQuality imageQuality) { imageQuality_ = imageQuality; }