diff Framework/Deprecated/SmartLoader.cpp @ 739:be9c1530d40a

deprecating enum SliceImageQuality
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 22 May 2019 09:13:04 +0200
parents c35e98d22764
children e713f1a99861 2d8ab34c8c91
line wrap: on
line diff
--- a/Framework/Deprecated/SmartLoader.cpp	Wed May 22 08:54:38 2019 +0200
+++ b/Framework/Deprecated/SmartLoader.cpp	Wed May 22 09:13:04 2019 +0200
@@ -54,8 +54,8 @@
 
       virtual ILayerRenderer* CreateRenderer() const
       {
-        bool isFull = (that_.effectiveQuality_ == OrthancStone::SliceImageQuality_FullPng ||
-                       that_.effectiveQuality_ == OrthancStone::SliceImageQuality_FullPam);
+        bool isFull = (that_.effectiveQuality_ == SliceImageQuality_FullPng ||
+                       that_.effectiveQuality_ == SliceImageQuality_FullPam);
 
         return FrameRenderer::CreateRenderer(*that_.image_, *that_.slice_, isFull);
       }
@@ -64,7 +64,7 @@
     unsigned int                    sliceIndex_;
     std::auto_ptr<Slice>            slice_;
     boost::shared_ptr<Orthanc::ImageAccessor>   image_;
-    OrthancStone::SliceImageQuality               effectiveQuality_;
+    SliceImageQuality               effectiveQuality_;
     CachedSliceStatus               status_;
 
   public:
@@ -123,7 +123,7 @@
                            OrthancApiClient& orthancApiClient) :
     IObservable(broker),
     IObserver(broker),
-    imageQuality_(OrthancStone::SliceImageQuality_FullPam),
+    imageQuality_(SliceImageQuality_FullPam),
     orthancApiClient_(orthancApiClient)
   {
   }