wlanutilities/wlansniffer/aiplugin/src/wsfaicontroller.cpp
changeset 1 d07e190ed096
parent 0 56b72877c1cb
child 2 6e4b6261703d
equal deleted inserted replaced
0:56b72877c1cb 1:d07e190ed096
    30 #include <rconnmon.h>
    30 #include <rconnmon.h>
    31 #include <utf.h>
    31 #include <utf.h>
    32 #include <cmmanager.h>
    32 #include <cmmanager.h>
    33 #include <internetconnectivitycrkeys.h>
    33 #include <internetconnectivitycrkeys.h>
    34 #include <wlanerrorcodes.h>
    34 #include <wlanerrorcodes.h>
       
    35 #include <ConnectionUiUtilities.h>
    35 
    36 
    36 //  CLASS HEADER
    37 //  CLASS HEADER
    37 #include "wsfaicontroller.h"
    38 #include "wsfaicontroller.h"
    38 
    39 
    39 //  INTERNAL INCLUDES
    40 //  INTERNAL INCLUDES
  1139             {
  1140             {
  1140             // Search for wlans was selected
  1141             // Search for wlans was selected
  1141             if ( !wlanArray || !wlanArray->Count() )
  1142             if ( !wlanArray || !wlanArray->Count() )
  1142                 {
  1143                 {
  1143                 // there are no available networks
  1144                 // there are no available networks
  1144                 HBufC* infoText = StringLoader::LoadLC( 
  1145                 CConnectionUiUtilities* connUiUtils = CConnectionUiUtilities::NewL();        
  1145                                           R_QTN_WLAN_INFO_NO_NETWORKS_FOUND ); 
  1146                 connUiUtils->NoWLANNetworksAvailableNote();
  1146                 CAknInformationNote* infoNote = new (ELeave) 
  1147                 delete connUiUtils;
  1147                                                  CAknInformationNote( ETrue );
       
  1148                 infoNote->ExecuteLD( *infoText ); 
       
  1149                 CleanupStack::PopAndDestroy( infoText );
       
  1150                 }
  1148                 }
  1151 
  1149 
  1152             // launch the search dialog
  1150             // launch the search dialog
  1153             TWsfWlanInfo info;
  1151             TWsfWlanInfo info;
  1154             
  1152