wlanutilities/wlansniffer/mainapplication/src/wsfmainviewmodel.cpp
branchRCL_3
changeset 13 858c6c491d0e
parent 0 56b72877c1cb
equal deleted inserted replaced
12:981afc7d3841 13:858c6c491d0e
   203 
   203 
   204 // ---------------------------------------------------------------------------
   204 // ---------------------------------------------------------------------------
   205 // CWsfMainViewModel::FormatWlanListL
   205 // CWsfMainViewModel::FormatWlanListL
   206 // ---------------------------------------------------------------------------
   206 // ---------------------------------------------------------------------------
   207 //
   207 //
   208 CDesCArrayFlat* CWsfMainViewModel::FormatWlanListL( 
   208 void CWsfMainViewModel::FormatWlanListL( CWsfWlanInfoArray* aWlanList )
   209                                             CWsfWlanInfoArray* aWlanList )
       
   210     {
   209     {
   211     LOG_ENTERFN( "CWsfMainViewModel::FormatWlanListL" );
   210     LOG_ENTERFN( "CWsfMainViewModel::FormatWlanListL" );
   212     //Function expects that items in list are already in proper order
   211     //Function expects that items in list are already in proper order
   213     iVisibleWlans = 0;
   212     iVisibleWlans = 0;
   214     iWlanInfoArray = aWlanList;
   213     iWlanInfoArray = aWlanList;
   242     ptr.Zero();
   241     ptr.Zero();
   243     FormatHiddenWlanItemL( dummy, ptr );
   242     FormatHiddenWlanItemL( dummy, ptr );
   244     iFormattedWlanList->AppendL( ptr );
   243     iFormattedWlanList->AppendL( ptr );
   245 
   244 
   246     CleanupStack::PopAndDestroy ( item );
   245     CleanupStack::PopAndDestroy ( item );
   247     return iFormattedWlanList;
       
   248     }
   246     }
   249 
   247 
   250 // ---------------------------------------------------------------------------
   248 // ---------------------------------------------------------------------------
   251 // CWsfMainViewModel::FormatHiddenWlanItemL
   249 // CWsfMainViewModel::FormatHiddenWlanItemL
   252 // ---------------------------------------------------------------------------
   250 // ---------------------------------------------------------------------------