connectionutilities/ConnectionDialogs/ConnectionUiUtilities/src/ActiveWrapper.cpp
changeset 20 9c97ad6591ae
parent 0 5a93021fdf25
child 41 bbb64eb3bdee
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
   197             {
   197             {
   198             iNotif.CancelOffLineWlanNote();
   198             iNotif.CancelOffLineWlanNote();
   199             break;
   199             break;
   200             }
   200             }
   201 
   201 
   202         case EConnViaDestCM:
       
   203             {
       
   204             iNotif.CancelConnectedViaDestAndConnMethodNote();
       
   205             break;
       
   206             }
       
   207 
       
   208         case EChangingConnTo:
       
   209             {
       
   210             iNotif.CancelChangingConnectionToNote();
       
   211             break;
       
   212             }
       
   213 
       
   214         case EConnViaCM:
       
   215             {
       
   216             iNotif.CancelConnectedViaConnMethodNote();            
       
   217             break;
       
   218             }
       
   219         case EWlanEasyWep:
   202         case EWlanEasyWep:
   220             {
   203             {
   221             iNotif.CancelEasyWepDlg();
   204             iNotif.CancelEasyWepDlg();
   222             
   205             
   223             if ( iRS )
   206             if ( iRS )
   435                 {
   418                 {
   436                 iNotif.WLANNetworkUnavailableNote( iStatus );
   419                 iNotif.WLANNetworkUnavailableNote( iStatus );
   437                 break;
   420                 break;
   438                 }
   421                 }
   439 
   422 
   440             case EConnViaDestCM:
       
   441                 {
       
   442                 iNotif.ConnectedViaDestAndConnMethodNote( aDestId, aConnMId,
       
   443                                                           iStatus );
       
   444                 break;
       
   445                 }
       
   446 
       
   447             case EChangingConnTo:
       
   448                 {
       
   449                 iNotif.ChangingConnectionToNote( aConnMId, iStatus );
       
   450                 break;
       
   451                 }
       
   452 
       
   453             case EConnViaCM:
       
   454                 {
       
   455                 iNotif.ConnectedViaConnMethodNote( aConnMId, iStatus );
       
   456                 break;
       
   457                 }
       
   458 
       
   459             case ENoWlanNetwsAvail:
       
   460                 {
       
   461                 iNotif.NoWLANNetworksAvailableNote( iStatus );
       
   462                 break;
       
   463                 }
       
   464 
       
   465             default:
   423             default:
   466                 {
   424                 {
   467                 return;
   425                 return;
   468                 }
   426                 }
   469             }
   427             }
   494         }
   452         }
   495 
   453 
   496     return iStatus.Int();  
   454     return iStatus.Int();  
   497     }
   455     }
   498 
   456 
   499 // ---------------------------------------------------------
       
   500 // CActiveWrapper::StartConnectingViaDiscreetPopup
       
   501 //
       
   502 // Starts the active object
       
   503 // ---------------------------------------------------------
       
   504 //
       
   505 void CActiveWrapper::StartConnectingViaDiscreetPopup( TPckgBuf< TConnUiConnectingViaDiscreetPopup>& aInfo )
       
   506     {
       
   507     if ( IsActive() == EFalse )
       
   508         {
       
   509         iIndexOfNote = EConnectingViaDiscreetPopup;
       
   510         iNotif.ConnectingViaDiscreetPopup( aInfo, iStatus );
       
   511         SetActive();
       
   512         iWait.Start();
       
   513         }
       
   514 
       
   515     }
       
   516 
       
   517 
       
   518 // ---------------------------------------------------------
       
   519 // CActiveWrapper::StartConnectionErrorDiscreetPopup
       
   520 //
       
   521 // Starts the active object
       
   522 // ---------------------------------------------------------
       
   523 //
       
   524 void CActiveWrapper::StartConnectionErrorDiscreetPopup( TPckgBuf<TInt>& aErrCode )
       
   525     {
       
   526     if ( IsActive() == EFalse )
       
   527         {
       
   528         iIndexOfNote = EConnectionErrorDiscreetPopup;
       
   529         iNotif.ConnectionErrorDiscreetPopup( aErrCode, iStatus );
       
   530         SetActive();
       
   531         iWait.Start();
       
   532         }
       
   533 
       
   534     }
       
   535 
       
   536 // End of File
   457 // End of File