diff -r 9ba538e329bd -r 7d9067c6fcb1 photosgallery/viewframework/views/listview/inc/glxpreviewthumbnailbinding.h --- a/photosgallery/viewframework/views/listview/inc/glxpreviewthumbnailbinding.h Thu Jan 07 12:46:23 2010 +0200 +++ b/photosgallery/viewframework/views/listview/inc/glxpreviewthumbnailbinding.h Mon Jan 18 20:19:20 2010 +0200 @@ -67,11 +67,6 @@ */ ~CGlxPreviewThumbnailBinding(); - /** - * HasFirstThumbnail - */ - TBool HasFirstThumbnail( const RArray< TMPXAttribute >& aAttributes ); - private: /** @@ -85,8 +80,10 @@ void ConstructL(); public: - void HandleItemChangedL(const CMPXCollectionPath& aPath, TBool aPopulateListTNs); + void HandleItemChangedL(const CMPXCollectionPath& aPath, + TBool aPopulateListTNs, TBool aBackwardNavigation); void StartTimer(TBool aPopulateListTNs); + void StopTimer(); // From MGlxMediaListObserver void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); @@ -102,6 +99,7 @@ MGlxMediaList* aList ); void HandleMediaL( TInt aListIndex, MGlxMediaList* aList ); void HandleItemModifiedL( const RArray& aItemIndexes, MGlxMediaList* aList ); + void HandlePopulatedL( MGlxMediaList* aList ); private: /** @@ -123,8 +121,8 @@ //Medialist that holds the thumbnail information MGlxMediaList* iMediaList; - // Thumbnail context - CGlxThumbnailContext* iThumbnailContext; + // Thumbnail Attrib context + CGlxAttributeContext* iThumbnailContext; // for thumbnail context TGlxSequentialIterator iThumbnailIterator; @@ -149,6 +147,10 @@ TInt iTrialCount; TInt iTrial; + + TBool iBackwardNavigation; + + CMPXFilter* iPreviewFilter; };