ui/uiengine/medialistwrapper/inc/glxmlwrapper_p.h
changeset 44 aa2fa096cbfb
parent 43 72396548277c
child 45 863223ea6961
--- a/ui/uiengine/medialistwrapper/inc/glxmlwrapper_p.h	Fri May 28 21:11:54 2010 +0530
+++ b/ui/uiengine/medialistwrapper/inc/glxmlwrapper_p.h	Fri Jun 11 17:53:15 2010 +0530
@@ -59,6 +59,12 @@
      * for setting the attribute context mode will be used mainly for retreiving thumbnail of different sizes.
      */
 	 void SetContextMode(GlxContextMode aContextMode);
+	 
+	 /*
+	  * For removing the contect used
+	  */
+	 void RemoveContextMode(GlxContextMode aContextMode);
+	 
 	 /**
      * for retreiving the Media List Count.
      */
@@ -111,14 +117,21 @@
 	HbIcon* RetrieveItemIcon(int index, GlxTBContextType aTBContextType);
 	QImage  RetrieveItemImage(int index, GlxTBContextType aTBContextType);
 	QString RetrieveListTitle(int index);
+	QString RetrieveListDesc(int index);
 	QString RetrieveListSubTitle(int index);
 	QString RetrieveItemUri(int index);
 	QSize   RetrieveItemDimension(int index);
+	int     RetrieveItemSize(int index);
 	QDate   RetrieveItemDate(int index);
+	QTime   RetrieveItemTime(int index);
 	int     RetrieveItemFrameCount(int aItemIndex);
 	CFbsBitmap* RetrieveBitmap(int aItemIndex);
 	int     RetrieveListItemCount( int aItemIndex );
 	bool    isSystemItem( int aItemIndex );
+	/*
+	 *Sets the context for fetcing comments
+	 */
+	void SetDescontextL();
 	QString RetrieveViewTitle();
 	bool IsPopulated();
 		
@@ -152,6 +165,7 @@
 	void RemovePtFsContext();
 	void RemoveListContext();
 	void RemoveFavouriteContext();
+	void RemoveDescContext();
 	//for the attribute filtering
 	TInt CheckTBAttributesPresenceandSanity(TInt aItemIndex,
 		const RArray<TMPXAttribute>& aAttributes, TMPXAttribute aThumbnailAttribute );
@@ -160,6 +174,10 @@
 	void CheckLsFsTBAttribute(TInt aItemIndex, const RArray<TMPXAttribute>& aAttributes);
 	void CheckListAttributes(TInt aItemIndex, const RArray<TMPXAttribute>& aAttributes);
 	/*
+	 * to check the attributes returned for details view is present
+	 */
+	void CheckDetailsAttributes(TInt aItemIndex, const RArray<TMPXAttribute>& aAttributes);
+	/*
 	 * convert the CFbsbitmap to HbIcon
 	 */
 	HbIcon *convertFBSBitmapToHbIcon(CFbsBitmap* aBitmap);
@@ -185,7 +203,6 @@
 	CGlxDefaultThumbnailContext* iLsFsThumbnailContext; 
 	CGlxDefaultThumbnailContext* iFocusFsThumbnailContext;
 	CGlxDefaultThumbnailContext* iFocusGridThumbnailContext;
-	CGlxThumbnailContext* iFilmStripThumbnailContext;
 
 	//List related contexts
 	// Fetch context for retrieving title attribute
@@ -197,6 +214,9 @@
     //to find if the image is in favorites or not
    	CGlxDefaultAttributeContext *iFavouriteContext;	
 	
+	//To fetch the details
+    CGlxDefaultAttributeContext *iDescContext;
+	
     CGlxThumbnailContext* iListThumbnailContext;
     // for thumbnail context
     TGlxFromVisibleIndexOutwardListIterator iThumbnailIterator;
@@ -212,6 +232,7 @@
 	TBool iPtFsContextActivated;
 	TBool iLsListContextActivated; //currently not used as we have not implemented the logic for 3 thumbnails
 	TBool iPtListContextActivated; 
+	TBool iDetailsContextActivated; //this is to fetch the comments attributes
 	TBool iSelectionListContextActivated;
 	CGlxTitleFetcher* iTitleFetcher;
 	QImage iCorruptImage;