photosgallery/viewframework/views/listview/inc/glxlistviewimp.h
branchRCL_3
changeset 14 2dac0fdba72b
parent 13 bcb43dc84c44
child 18 78ad99c24f08
equal deleted inserted replaced
13:bcb43dc84c44 14:2dac0fdba72b
   178     void SetDefaultThumbnailL(TInt aIndex);
   178     void SetDefaultThumbnailL(TInt aIndex);
   179     void NavigateToMainListL();
   179     void NavigateToMainListL();
   180     void HandleMMCInsertionL();
   180     void HandleMMCInsertionL();
   181     void HandleMMCRemovalL();
   181     void HandleMMCRemovalL();
   182     void HandleNavigationalStateChangedL(){};
   182     void HandleNavigationalStateChangedL(){};
       
   183     /**
       
   184      * Cleans Up the cache for list view
       
   185      */    
       
   186     void CleanUpL();
       
   187     /**
       
   188      * Updates the preview thumbnail 
       
   189      * @param aIndex index to be updated
       
   190      */        
       
   191     void UpdatePreviewL(TInt aIndex);
       
   192     /**
       
   193     * Helper function used by HandleError
       
   194     * @param aError the error code to handle.
       
   195     */
       
   196    void DoHandleErrorL( TInt /*aError*/ );    
   183  
   197  
   184 public: // from MGlxMediaListObserver
   198 public: // from MGlxMediaListObserver
   185     void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList );
   199     void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList );
   186     void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList );
   200     void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList );
   187     void HandleAttributesAvailableL( TInt aItemIndex, 
   201     void HandleAttributesAvailableL( TInt aItemIndex, 
   206     
   220     
   207 	MGlxMediaList* iFocusedChildList;
   221 	MGlxMediaList* iFocusedChildList;
   208 	
   222 	
   209 	CGlxPreviewThumbnailBinding* iPreviewTNBinding; //Own
   223 	CGlxPreviewThumbnailBinding* iPreviewTNBinding; //Own
   210 	
   224 	
   211 	    // Fetch context for retrieving title attribute
   225 	// Fetch context for retrieving title attribute
   212     CGlxDefaultAttributeContext* iTitleAttributeContext;
   226 	CGlxAttributeContext* iTitleAttributeContext;
   213 
   227 
   214     // Fetch context for retrieving subtitle
   228     // Fetch context for retrieving subtitle
   215     CGlxDefaultAttributeContext* iSubtitleAttributeContext;
   229     CGlxAttributeContext* iSubtitleAttributeContext;
   216 	
   230 	
   217 	// for thumbnail context
   231     TGlxFromFocusOutwardIterator iThumbnailIterator;
   218 	TGlxSequentialIterator iThumbnailIterator;
   232     
       
   233 	// Thumbnail Attrib context
       
   234     CGlxAttributeContext* iThumbnailContext;	
   219 
   235 
   220     /** Unique ID of this Avkon view */
   236     /** Unique ID of this Avkon view */
   221     TInt iViewUid;
   237     TInt iViewUid;
   222 
   238 
   223     /** View specific resource ids */
   239     /** View specific resource ids */
   241     // save title text 
   257     // save title text 
   242     HBufC* iTitletext;
   258     HBufC* iTitletext;
   243 
   259 
   244     CGlxProgressIndicator* iProgressIndicator;
   260     CGlxProgressIndicator* iProgressIndicator;
   245 
   261 
   246 	//Check for TN generation
       
   247     TBool isTnGenerationComplete;
       
   248 	
       
   249     CActiveSchedulerWait* iSchedulerWait;
   262     CActiveSchedulerWait* iSchedulerWait;
   250     
   263     
   251     CGlxMMCNotifier* iMMCNotifier;
   264     CGlxMMCNotifier* iMMCNotifier;
   252 
   265 
   253     CGlxNavigationalState* iNavigationalState;
   266     CGlxNavigationalState* iNavigationalState;
   254 	
   267 	
   255     TBool iMMCState;
   268     TBool iMMCState;
       
   269 
       
   270     TSize iGridIconSize;
   256     };
   271     };
   257 
   272 
   258 #endif  // C_GLXLISTVIEWIMP_H
   273 #endif  // C_GLXLISTVIEWIMP_H
   259 
   274 
   260 // End of File
   275 // End of File