192 /** |
192 /** |
193 * Helper function used by HandleError |
193 * Helper function used by HandleError |
194 * @param aError the error code to handle. |
194 * @param aError the error code to handle. |
195 */ |
195 */ |
196 void DoHandleErrorL( TInt /*aError*/ ); |
196 void DoHandleErrorL( TInt /*aError*/ ); |
197 |
197 |
|
198 /** |
|
199 * Refresh the list |
|
200 * @param aIndex index to be refreshed |
|
201 */ |
|
202 void RefreshList(TInt aIndex); |
|
203 |
|
204 /** |
|
205 * Remove the medialist attribute context(s) |
|
206 */ |
|
207 void RemoveContext(); |
|
208 |
198 public: // from MGlxMediaListObserver |
209 public: // from MGlxMediaListObserver |
199 void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
210 void HandleItemAddedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
200 void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
211 void HandleItemRemovedL( TInt aStartIndex, TInt aEndIndex, MGlxMediaList* aList ); |
201 void HandleAttributesAvailableL( TInt aItemIndex, |
212 void HandleAttributesAvailableL( TInt aItemIndex, |
202 const RArray<TMPXAttribute>& aAttributes, MGlxMediaList* aList ); |
213 const RArray<TMPXAttribute>& aAttributes, MGlxMediaList* aList ); |
220 |
231 |
221 MGlxMediaList* iFocusedChildList; |
232 MGlxMediaList* iFocusedChildList; |
222 |
233 |
223 CGlxPreviewThumbnailBinding* iPreviewTNBinding; //Own |
234 CGlxPreviewThumbnailBinding* iPreviewTNBinding; //Own |
224 |
235 |
225 // Fetch context for retrieving title attribute |
236 /// Fetch context for retrieving title attribute |
226 CGlxAttributeContext* iTitleAttributeContext; |
237 CGlxDefaultAttributeContext* iTitleAttributeContext; |
227 |
238 |
228 // Fetch context for retrieving subtitle |
239 /// Fetch context for retrieving subtitle for visible items |
229 CGlxAttributeContext* iSubtitleAttributeContext; |
240 CGlxAttributeContext* iSubtitleAttributeContext; |
230 |
241 |
|
242 /// Fetch context for retrieving other attribs for visible items |
|
243 CGlxAttributeContext* iOtherAttribsContext; |
|
244 |
|
245 /// Thumbnail Attrib context for visible items |
|
246 CGlxAttributeContext* iThumbnailContext; |
|
247 |
|
248 /// Thumbnail iterator for fetch context(s) for visible items |
231 TGlxFromFocusOutwardIterator iThumbnailIterator; |
249 TGlxFromFocusOutwardIterator iThumbnailIterator; |
232 |
250 |
233 // Thumbnail Attrib context |
251 /// Fetch context for retrieving subtitle for non-visible items |
234 CGlxAttributeContext* iThumbnailContext; |
252 CGlxAttributeContext* iNonVisibleSubtitleAttributeContext; |
235 |
253 |
236 /** Unique ID of this Avkon view */ |
254 /// Fetch context for retrieving other attribs for non-visible items |
|
255 CGlxAttributeContext* iNonVisibleOtherAttribsContext; |
|
256 |
|
257 /// Thumbnail Attrib context for non-visible items |
|
258 CGlxAttributeContext* iNonVisibleThumbnailContext; |
|
259 |
|
260 /// Thumbnail iterator for fetch context(s) for non-visible items |
|
261 TGlxFromFocusOutwardIterator iNonVisibleThumbnailIterator; |
|
262 |
|
263 /// Unique ID of this Avkon view |
237 TInt iViewUid; |
264 TInt iViewUid; |
238 |
265 |
239 /** View specific resource ids */ |
266 /// View specific resource ids |
240 TListViewResourceIds iResourceIds; |
267 TListViewResourceIds iResourceIds; |
241 |
268 |
242 /// The animation being applied to the view |
269 /// The animation being applied to the view |
243 MGlxAnimation* iViewAnimation; |
270 MGlxAnimation* iViewAnimation; |
244 |
271 |