browserui/browser/FavouritesInc/BrowserFavouritesListbox.h
branchRCL_3
changeset 60 b149f0820e5a
parent 15 e45c3f40ea5f
--- a/browserui/browser/FavouritesInc/BrowserFavouritesListbox.h	Wed Jun 09 09:45:02 2010 +0300
+++ b/browserui/browser/FavouritesInc/BrowserFavouritesListbox.h	Mon Jun 21 15:43:41 2010 +0300
@@ -287,6 +287,12 @@
         * @param aRowIndex - index of row to be italicized 
         */
 		void ItalicizeRowItemL(TInt aRowIndex);
+		
+        /**
+        * Updates the favourites icons in the list. Initiates async operation
+        * to fetch and draw icons in background during idle time.  
+        */		
+		void UpdateFavIconsL();
 
 
     protected:  // Construct / destruct
@@ -333,6 +339,11 @@
         * returned state.
         */
         void CalcNewStateL( CFavouritesItemList& aNewItems );
+        
+        /**
+        * Callback for fetching and drawing favicons
+        */
+        static TInt UpdateFavIconsCallback( TAny* aParam );
 
 
     private:    // new methods: index <--> Uid conversion
@@ -454,6 +465,8 @@
         * Italicized font for setting listbox rows to italics font.
         */
         CFbsFont *iFontItalic;
+        
+        CIdle *iIconUpdateCallback;
 
 
     };