photosgallery/slideshow/engine/coresrc/shwthumbnailcontext.h
branchRCL_3
changeset 47 f9e827349359
parent 0 4e91876724a2
equal deleted inserted replaced
35:420f6808bf21 47:f9e827349359
    43 
    43 
    44 		/**
    44 		/**
    45 		 * Constructor.
    45 		 * Constructor.
    46            * @param aIndex, the medialist index for the thumbnail to load
    46            * @param aIndex, the medialist index for the thumbnail to load
    47            * @param aSize, the size for the thumbnail
    47            * @param aSize, the size for the thumbnail
       
    48            * @param aList, the medialist being traversed
    48 		 */
    49 		 */
    49 		static CShwThumbnailContext* NewLC( TInt aIndex, TSize aSize );
    50 		static CShwThumbnailContext* NewLC( TInt aIndex, TSize aSize,
       
    51 				MGlxMediaList& aList );
    50 
    52 
    51 		/**
    53 		/**
    52 		 * Destructor.
    54 		 * Destructor.
    53 		 */
    55 		 */
    54 		~CShwThumbnailContext();
    56 		~CShwThumbnailContext();
    82 	private: // Constructors
    84 	private: // Constructors
    83 
    85 
    84         /**
    86         /**
    85          * C++ constructor.
    87          * C++ constructor.
    86          */
    88          */
    87         CShwThumbnailContext( TInt aIndex, TSize aSize );
    89         CShwThumbnailContext( TInt aIndex, TSize aSize, MGlxMediaList& aList);
    88 
    90 
    89         /**
    91         /**
    90          * 2nd stage constructor
    92          * 2nd stage constructor
    91          */
    93          */
    92         void ConstructL();
    94         void ConstructL();
    99         TBool iIterated;
   101         TBool iIterated;
   100         /// Own: the size of the thumbnail for this context
   102         /// Own: the size of the thumbnail for this context
   101         TSize iSize;
   103         TSize iSize;
   102         /// Own: the currrent focus item
   104         /// Own: the currrent focus item
   103         TInt iCurrentIndex;
   105         TInt iCurrentIndex;
       
   106         /// Ref: The medialist being traversed
       
   107         MGlxMediaList& iList;
   104 
   108 
   105 	};
   109 	};
   106 
   110 
   107 #endif // __SHWTHUMBNAILCONTEXT_H__
   111 #endif // __SHWTHUMBNAILCONTEXT_H__