wlanutilities/wlansniffer/mainapplication/src/wsfmainviewcontroller.cpp
branchRCL_3
changeset 20 858c6c491d0e
parent 16 8b0eae1b1d71
equal deleted inserted replaced
18:981afc7d3841 20:858c6c491d0e
    62 //
    62 //
    63 void TWsfMainViewController::UpdateHotSpotsL( CWsfWlanInfoArray* aWlanList )
    63 void TWsfMainViewController::UpdateHotSpotsL( CWsfWlanInfoArray* aWlanList )
    64     {
    64     {
    65     LOG_ENTERFN( "TWsfMainViewController::UpdateHotSpotsL" );   
    65     LOG_ENTERFN( "TWsfMainViewController::UpdateHotSpotsL" );   
    66     // Format WLAN list which was passed as a parameter
    66     // Format WLAN list which was passed as a parameter
    67     CDesCArray* formattedList = iModel->FormatWlanListL( aWlanList );
    67     iModel->FormatWlanListL( aWlanList );
       
    68     CDesCArray* formattedList = iModel->GetWlanList();
    68 
    69 
    69     if ( iContainer )
    70     if ( iContainer )
    70         {        
    71         {        
    71         // If some WLAN was already selected, don't lose the focus
    72         // If some WLAN was already selected, don't lose the focus
    72         // By default show the first item (index == 0)
    73         // By default show the first item (index == 0)
   104     LOG_ENTERFN( "TWsfMainViewController::UpdateWlanListL" );   
   105     LOG_ENTERFN( "TWsfMainViewController::UpdateWlanListL" );   
   105     UpdateHotSpotsL( aWlanArray );
   106     UpdateHotSpotsL( aWlanArray );
   106     UpdateNaviPaneL();
   107     UpdateNaviPaneL();
   107     }
   108     }
   108 
   109 
       
   110 // ---------------------------------------------------------------------------
       
   111 // TWsfMainViewController::UpdateWlanListInBackgroundL
       
   112 // ---------------------------------------------------------------------------
       
   113 //
       
   114 void TWsfMainViewController::UpdateWlanListInBackgroundL(
       
   115         CWsfWlanInfoArray* aWlanArray )
       
   116     {
       
   117     LOG_ENTERFN( "TWsfMainViewController::UpdateWlanListInBackgroundL" );   
       
   118     iModel->FormatWlanListL( aWlanArray );
       
   119     }
   109 
   120 
   110 // ---------------------------------------------------------------------------
   121 // ---------------------------------------------------------------------------
   111 // TWsfMainViewController::RefreshL
   122 // TWsfMainViewController::RefreshL
   112 // ---------------------------------------------------------------------------
   123 // ---------------------------------------------------------------------------
   113 //
   124 //