idlehomescreen/widgetmanager/inc/wmwidgetdata.inl
branchRCL_3
changeset 9 f966699dea19
parent 2 08c6ee43b396
child 30 b8fae6b8a148
equal deleted inserted replaced
5:c743ef5928ba 9:f966699dea19
    57     
    57     
    58     /** sets the widget data validity */
    58     /** sets the widget data validity */
    59     inline void CWmWidgetData::SetValid( TBool aValid )
    59     inline void CWmWidgetData::SetValid( TBool aValid )
    60         { iValid = aValid; }
    60         { iValid = aValid; }
    61     
    61     
    62     
       
    63     //From  RWidgetDataValues
    62     //From  RWidgetDataValues
    64     
    63     
    65     /** returns number of items in the pointer array */
    64     /** returns number of items in the pointer array */
    66     inline TInt RWidgetDataValues::MdcaCount() const
    65     inline TInt RWidgetDataValues::MdcaCount() const
    67         {
    66         {
    68         return Count();
    67         return Count();
    69         }
    68         }
    70     /** returns the pointed widget name */
    69     /** returns the pointed widget name */
    71     inline TPtrC16 RWidgetDataValues::MdcaPoint(TInt aIndex) const
    70     inline TPtrC16 RWidgetDataValues::MdcaPoint(TInt aIndex) const
    72         {
    71         {
    73         const TPtrC16 ptr( (*this)[aIndex]->Name() );
    72         const TPtrC16 ptr( (*this)[aIndex]->MdcaPoint() );
    74         return ptr;
    73         return ptr;
    75         }
    74         }
    76 
    75 
    77 #endif /* WMWIDGETDATA_INL_ */
    76 #endif /* WMWIDGETDATA_INL_ */