connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/SelectWLANDlg.cpp
branchRCL_3
changeset 57 05bc53fe583b
parent 19 22c3c67e5001
child 58 83ca720e2b9a
equal deleted inserted replaced
55:fc7b30ed2058 57:05bc53fe583b
    24 #include <AknIconUtils.h>
    24 #include <AknIconUtils.h>
    25 #include <AknWaitDialog.h>
    25 #include <AknWaitDialog.h>
    26 #include <aknnotewrappers.h>
    26 #include <aknnotewrappers.h>
    27 #include <aknnotedialog.h>
    27 #include <aknnotedialog.h>
    28 #include <connectionuiutilities.mbg>
    28 #include <connectionuiutilities.mbg>
    29 #include <ConnUiUtilsNotif.rsg>
    29 #include <connuiutilsnotif.rsg>
    30 #include <StringLoader.h>
    30 #include <StringLoader.h>
    31 #include <data_caging_path_literals.hrh>
    31 #include <data_caging_path_literals.hrh>
    32 #include <uikon/eiksrvui.h>
    32 #include <uikon/eiksrvui.h>
    33 #include <utf.h>
    33 #include <utf.h>
    34 #include <AknGlobalNote.h>
    34 #include <AknGlobalNote.h>
    63 CSelectWLANDlg::CSelectWLANDlg( CSelectWLanDlgPlugin* aPlugin, TInt aIndex,
    63 CSelectWLANDlg::CSelectWLANDlg( CSelectWLanDlgPlugin* aPlugin, TInt aIndex,
    64                                 CNetworkInfoArray* *const aNetworkArray )
    64                                 CNetworkInfoArray* *const aNetworkArray )
    65 : CAknListQueryDialog( &aIndex ),
    65 : CAknListQueryDialog( &aIndex ),
    66   iPlugin( aPlugin ),
    66   iPlugin( aPlugin ),
    67   iNetworkArray( aNetworkArray ),
    67   iNetworkArray( aNetworkArray ),
    68   iFromOkToExit( EFalse )
    68   iFromOkToExit( EFalse ),
       
    69   iWaitDialog( NULL ),
       
    70   iExpiryTimer( NULL )
    69     {
    71     {
    70     }
    72     }
    71 
    73 
    72 
    74 
    73 // Destructor
    75 // Destructor
   208 
   210 
   209                 TWlanConnectionMode nMode;
   211                 TWlanConnectionMode nMode;
   210                 TWlanConnectionSecurityMode sMode;
   212                 TWlanConnectionSecurityMode sMode;
   211                 TWlanConnectionExtentedSecurityMode sExtMode;
   213                 TWlanConnectionExtentedSecurityMode sExtMode;
   212 
   214 
   213                 //sSID.Copy( buff->Des() );
   215                 sSID.Copy( buff->Des() );       
   214                 TInt err = CnvUtfConverter::ConvertFromUnicodeToUtf8( sSID, buff->Des() );
       
   215                 if ( err )
       
   216                     {
       
   217                     sSID.Copy( buff->Des() );
       
   218                     }        
       
   219                 CleanupStack::PopAndDestroy( buff );
   216                 CleanupStack::PopAndDestroy( buff );
   220 
   217 
   221                 iPlugin->SetEasyWlanToHiddenL( ETrue ); 
   218                 iPlugin->SetEasyWlanToHiddenL( ETrue ); 
   222 
   219 
   223                 TBool protSetupSupp;
   220                 TBool protSetupSupp;