menufw/menufwui/mmwidgets/inc/mmcacheforitem.h
changeset 4 4d54b72983ae
parent 0 f72a12da539e
child 9 f966699dea19
equal deleted inserted replaced
3:fb3763350a08 4:4d54b72983ae
    79     /**
    79     /**
    80      * Marks this cache as valid or invalid.
    80      * Marks this cache as valid or invalid.
    81      * 
    81      * 
    82      * @param aValid (Self-explanatory).
    82      * @param aValid (Self-explanatory).
    83      */
    83      */
    84     inline void SetValid( TBool aValid );
    84     inline void SetValidL( TBool aValid );
    85     
    85     
    86     /**
    86     /**
    87      * Returns information whether at the moment of updating this cache object
    87      * Returns information whether at the moment of updating this cache object
    88      * the item was current (highlighted).
    88      * the item was current (highlighted).
    89      * 
    89      * 
   188     
   188     
   189     /**
   189     /**
   190      * 2nd phase constructor.
   190      * 2nd phase constructor.
   191      */
   191      */
   192     void ConstructL();
   192     void ConstructL();
       
   193     
       
   194     /**
       
   195      * Updates the iIconList so that it reflects the contents of
       
   196      * iIconHolderList.
       
   197      */
       
   198     void UpdateIconListL();
   193 
   199 
   194 protected:
   200 protected:
   195     /**
   201     /**
   196      * Stores information whether this cache object is valid.
   202      * Stores information whether this cache object is valid.
   197      */
   203      */
   238      * Object that represents the whole data cache as opposed
   244      * Object that represents the whole data cache as opposed
   239      * to single item cache represented by this object.
   245      * to single item cache represented by this object.
   240      */
   246      */
   241     CMmItemsDataCache& iParent;
   247     CMmItemsDataCache& iParent;
   242 
   248 
       
   249     /**
       
   250      * Array of icons stored in the icon holders which are in iIconHolderList.
       
   251      * This member is only valid when this cache object is marked as valid
       
   252      * using the SetValidL method.
       
   253      * Own.
       
   254      */
       
   255     CArrayPtr<CGulIcon>* iIconList;
       
   256 
   243     };
   257     };
   244 
   258 
   245 #include "mmcacheforitem.inl"
   259 #include "mmcacheforitem.inl"
   246 
   260 
   247 #endif // MMCACHEFORITEM_H
   261 #endif // MMCACHEFORITEM_H