diff Plugin/DecodedImageAdapter.h @ 102:21123729ac71 refactoring

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 30 Nov 2015 11:02:50 +0100
parents 46ec13a1177c
children 3809121c3290
line wrap: on
line diff
--- a/Plugin/DecodedImageAdapter.h	Fri Nov 27 22:05:51 2015 +0100
+++ b/Plugin/DecodedImageAdapter.h	Mon Nov 30 11:02:50 2015 +0100
@@ -26,7 +26,6 @@
 #include <stdint.h>
 #include <json/value.h>
 
-#include "../Orthanc/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h"
 #include "../Orthanc/Plugins/Samples/GdcmDecoder/OrthancImageWrapper.h"
 
 
@@ -60,7 +59,6 @@
                                 uint8_t quality /* between 0 and 100 */);
 
     OrthancPluginContext* context_;
-    GdcmDecoderCache  decoderCache_;
 
   public:
     DecodedImageAdapter(OrthancPluginContext* context) : context_(context)
@@ -69,10 +67,5 @@
 
     virtual bool Create(std::string& content,
                         const std::string& uri);  
-
-    GdcmDecoderCache& GetDecoderCache()
-    {
-      return decoderCache_;
-    }
   };
 }