phoneuis/easydialing/inc/easydialinglistboxdata.h
branchRCL_3
changeset 81 c26cc2a7c548
parent 62 5266b1f337bd
--- a/phoneuis/easydialing/inc/easydialinglistboxdata.h	Wed Sep 15 12:12:21 2010 +0300
+++ b/phoneuis/easydialing/inc/easydialinglistboxdata.h	Wed Oct 13 14:31:22 2010 +0300
@@ -155,15 +155,15 @@
         const TExtendedColors& aColors ) const;
     
     /**
-     * Draws the Contact Thumbnail Icon if any, else draws the dummy contact thumbnail.
+     * Draws the Contact Thumbnail Icon if any else draws the dummy contact thumbnail.
      * @param   aGc Graphics context.
      * @param   aBoundingBox    Rectangle containing bounds for contact thumbnail.
-     * @param   aContactIndex   Contact index for the contact data manager
+     * @param   aDescId Descriptor containing contact id.
      */
-    void DrawContactThumbnail(
+    TBool DrawContactThumbnail(
             CWindowGc& aGc,
             TRect aBoundingBox,
-            TInt aContactIndex ) const;
+            TPtrC aDescId) const;
     
     /**
      * Draws the Action Menu.
@@ -185,21 +185,6 @@
             TRect aNameRectUnMirrored,
             TRect aEffectiveRect) const;
     
-    /**
-     * Draws the SIM or Service Number icon. Takes the name rect as a parameter. Name rect
-     * must be unmirrored, because the mirroring is done as the last thing
-     * before drawing.
-     * @param   aIcon The icon to be drawn
-     * @param   aGc Graphics context.
-     * @param   aNameRectUnMirrored Name rect, after which the icon is drawn
-     * @param   aEffectiveRect The whole listbox item rect. Used for mirroring.
-     */
-    void DrawSimIcon(
-            CGulIcon& aIcon,
-            CWindowGc& aGc, 
-            TRect aNameRectUnMirrored,
-            TRect aEffectiveRect) const;
-    
 private:
     
     /** Control environment */
@@ -229,12 +214,6 @@
     /** Favourite icon. Owned. */
     CGulIcon* iFavouriteIcon;
     
-    /** SIM contact icon. Owned. */
-    CGulIcon* iSimContactIcon;
-    
-    /** Service contact icon. Owned. */
-    CGulIcon* iSdnContactIcon;
-    
     /** Pointer to listbox. Not owned. */
     CEasyDialingListBox* iControl;
     };