ui/uiengine/medialists/src/glxthumbnailcontext.cpp
changeset 52 a3a4c0de738e
parent 45 863223ea6961
--- a/ui/uiengine/medialists/src/glxthumbnailcontext.cpp	Sat Jul 10 00:59:39 2010 +0530
+++ b/ui/uiengine/medialists/src/glxthumbnailcontext.cpp	Fri Jul 23 20:41:04 2010 +0530
@@ -32,7 +32,6 @@
 #include "glxmedialist.h"
 #include "glxerrormanager.h"
 #include "glxthumbnailutility.h"
-//#include "mglxcache.h"
 #include "glxlistutils.h"
 
 /**
@@ -80,10 +79,7 @@
 void CGlxThumbnailContext::ConstructL()    
     {
     TRACER( "CGlxThumbnailContext::ConstructL");
-    
-    //iCache = MGlxCache::InstanceL();
     iResolutionUtility = CGlxResolutionUtility::InstanceL();
-  //  iResolutionUtility->AddObserverL( *this );
 
     iDrmUtility = CGlxDRMUtility::InstanceL();
 
@@ -130,16 +126,9 @@
 
     iSpecs.Close();
 
-    if ( iResolutionUtility )
-        {
-      //  iResolutionUtility->RemoveObserver( *this );
-        iResolutionUtility->Close();
-        }
+
 
-    /*if ( iCache )
-        {
-        iCache->Close();
-        }*/
+
     }
 
 // -----------------------------------------------------------------------------
@@ -363,17 +352,7 @@
     return requestCount;
     }
 
-// -----------------------------------------------------------------------------
-// HandleResolutionChanged
-// -----------------------------------------------------------------------------
-//
-/*void CGlxThumbnailContext::HandleResolutionChangedL()
-    {
-    TRACER( "CGlxThumbnailContext::HandleResolutionChanged");
-    
-    // Ask cache manager to refresh, to fetch thumbnails in new size
-    iCache->RefreshL();
-    }*/
+
 
 // -----------------------------------------------------------------------------
 // SelectItemL