photosgallery/slideshow/engine/coresrc/shwthumbnailcontext.h
branchRCL_3
changeset 47 f9e827349359
parent 0 4e91876724a2
--- a/photosgallery/slideshow/engine/coresrc/shwthumbnailcontext.h	Wed Jun 09 09:41:51 2010 +0300
+++ b/photosgallery/slideshow/engine/coresrc/shwthumbnailcontext.h	Mon Jun 21 15:40:32 2010 +0300
@@ -45,8 +45,10 @@
 		 * Constructor.
            * @param aIndex, the medialist index for the thumbnail to load
            * @param aSize, the size for the thumbnail
+           * @param aList, the medialist being traversed
 		 */
-		static CShwThumbnailContext* NewLC( TInt aIndex, TSize aSize );
+		static CShwThumbnailContext* NewLC( TInt aIndex, TSize aSize,
+				MGlxMediaList& aList );
 
 		/**
 		 * Destructor.
@@ -84,7 +86,7 @@
         /**
          * C++ constructor.
          */
-        CShwThumbnailContext( TInt aIndex, TSize aSize );
+        CShwThumbnailContext( TInt aIndex, TSize aSize, MGlxMediaList& aList);
 
         /**
          * 2nd stage constructor
@@ -101,6 +103,8 @@
         TSize iSize;
         /// Own: the currrent focus item
         TInt iCurrentIndex;
+        /// Ref: The medialist being traversed
+        MGlxMediaList& iList;
 
 	};