diff -r 94dc1107e8b2 -r 40a3f856b14d phoneuis/easydialing/inc/easydialinglistboxdata.h --- a/phoneuis/easydialing/inc/easydialinglistboxdata.h Thu Jul 15 18:38:16 2010 +0300 +++ b/phoneuis/easydialing/inc/easydialinglistboxdata.h Thu Aug 19 09:54:27 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 aDescId Descriptor containing contact id. + * @param aContactIndex Contact index for the contact data manager */ - TBool DrawContactThumbnail( + void DrawContactThumbnail( CWindowGc& aGc, TRect aBoundingBox, - TPtrC aDescId) const; + TInt aContactIndex ) const; /** * Draws the Action Menu. @@ -185,6 +185,21 @@ 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 */ @@ -214,6 +229,12 @@ /** Favourite icon. Owned. */ CGulIcon* iFavouriteIcon; + /** SIM contact icon. Owned. */ + CGulIcon* iSimContactIcon; + + /** Service contact icon. Owned. */ + CGulIcon* iSdnContactIcon; + /** Pointer to listbox. Not owned. */ CEasyDialingListBox* iControl; };