connectionutilities/ConnectionDialogs/ConnectionUiUtilities/src/ConnectionUiUtilitiesClient.cpp
changeset 20 9c97ad6591ae
parent 0 5a93021fdf25
equal deleted inserted replaced
18:fcbbe021d614 20:9c97ad6591ae
   261 
   261 
   262     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote" );
   262     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::WLANNetworkUnavailableNote" );
   263     }
   263     }
   264     
   264     
   265 // ---------------------------------------------------------
   265 // ---------------------------------------------------------
   266 // RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote
       
   267 // ---------------------------------------------------------
       
   268 //
       
   269 void RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote( 
       
   270                                                     const TUint32 aDestId, 
       
   271                                                     const TUint32 aConnMId,
       
   272                                                     TRequestStatus& aStatus )
       
   273     {
       
   274     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote" );
       
   275 
       
   276     ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( 
       
   277                                             TConnUiUiDestConnMethodNoteId() );
       
   278 
       
   279     iPassedInfo().iDestination = aDestId;    
       
   280     iPassedInfo().iConnectionMethod = aConnMId;
       
   281     iPassedInfo().iNoteId = EConnectedViaDestConnMethodConfirmationNote;
       
   282     iPassedInfo().iNextBestExists = EFalse;
       
   283     
       
   284     if ( iNotifier )
       
   285         {
       
   286         iNotifier->StartNotifierAndGetResponse( aStatus, 
       
   287                                                 KUidConnectViaNote,
       
   288                                                 iPassedInfo,
       
   289                                                 iBool );
       
   290         }
       
   291 
       
   292     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectedViaDestAndConnMethodNote" );
       
   293     }
       
   294     
       
   295 // ---------------------------------------------------------
       
   296 // RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote
       
   297 // ---------------------------------------------------------
       
   298 //
       
   299 void RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote()
       
   300     {
       
   301     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote" );
       
   302 
       
   303     if ( iNotifier )
       
   304         {
       
   305         iNotifier->CancelNotifier( KUidConnectViaNote );
       
   306         }
       
   307 
       
   308     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectedViaDestAndConnMethodNote" );
       
   309     }
       
   310     
       
   311 
       
   312 // ---------------------------------------------------------
       
   313 // RConnectionUiUtilitiesSession::ChangingConnectionToNote
       
   314 // ---------------------------------------------------------
       
   315 //
       
   316 void RConnectionUiUtilitiesSession::ChangingConnectionToNote( 
       
   317                                                 const TUint32 aConnMId,
       
   318                                                 TRequestStatus& aStatus )
       
   319     {
       
   320     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ChangingConnectionToNote" );
       
   321 
       
   322     ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( 
       
   323                                             TConnUiUiDestConnMethodNoteId() );
       
   324 
       
   325     iPassedInfo().iDestination = 0;    
       
   326     iPassedInfo().iConnectionMethod = aConnMId;
       
   327     iPassedInfo().iNoteId = EConnectingToConnMethodInfoNote;
       
   328     iPassedInfo().iNextBestExists = EFalse;
       
   329     
       
   330     if ( iNotifier )
       
   331         {
       
   332         iNotifier->StartNotifierAndGetResponse( aStatus, 
       
   333                                                 KUidConnectViaNote,
       
   334                                                 iPassedInfo,
       
   335                                                 iBool );
       
   336         }
       
   337 
       
   338     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ChangingConnectionToNote" );
       
   339     }
       
   340         
       
   341 // ---------------------------------------------------------
       
   342 // RConnectionUiUtilitiesSession::CancelChangingConnectionToNote
       
   343 // ---------------------------------------------------------
       
   344 //
       
   345 void RConnectionUiUtilitiesSession::CancelChangingConnectionToNote()
       
   346     {
       
   347     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelChangingConnectionToNote" );
       
   348 
       
   349     if ( iNotifier )
       
   350         {
       
   351         iNotifier->CancelNotifier( KUidConnectViaNote );
       
   352         }
       
   353 
       
   354     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelChangingConnectionToNote" );
       
   355     }
       
   356     
       
   357 // ---------------------------------------------------------
       
   358 // RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery()
   266 // RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery()
   359 // ---------------------------------------------------------
   267 // ---------------------------------------------------------
   360 //
   268 //
   361 void RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery( 
   269 void RConnectionUiUtilitiesSession::ConfirmMethodUsageQuery( 
   362                                                TMsgQueryLinkedResults& aResult,
   270                                                TMsgQueryLinkedResults& aResult,
   404         }
   312         }
   405 
   313 
   406     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery" );
   314     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConfirmMethodUsageQuery" );
   407     }    
   315     }    
   408 
   316 
   409 
       
   410 // ---------------------------------------------------------
       
   411 // RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote
       
   412 // ---------------------------------------------------------
       
   413 //
       
   414 void RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote( 
       
   415                                                     const TUint32 aConnMId,
       
   416                                                     TRequestStatus& aStatus )
       
   417     {
       
   418     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote" );
       
   419 
       
   420     ::new( &iPassedInfo ) TPckgBuf<TConnUiUiDestConnMethodNoteId>( 
       
   421                                             TConnUiUiDestConnMethodNoteId() );
       
   422 
       
   423     iPassedInfo().iDestination = 0;
       
   424     iPassedInfo().iConnectionMethod = aConnMId;
       
   425     iPassedInfo().iNoteId = EConnectedViaConnMethodConfirmationNote;
       
   426     iPassedInfo().iNextBestExists = EFalse;
       
   427     
       
   428     if ( iNotifier )
       
   429         {
       
   430         iNotifier->StartNotifierAndGetResponse( aStatus, 
       
   431                                                 KUidConnectViaNote,
       
   432                                                 iPassedInfo,
       
   433                                                 iBool );
       
   434         }
       
   435 
       
   436     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectedViaConnMethodNote" );
       
   437     }
       
   438     
       
   439 // ---------------------------------------------------------
       
   440 // RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote
       
   441 // ---------------------------------------------------------
       
   442 //
       
   443 void RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote()
       
   444     {
       
   445     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote" );
       
   446 
       
   447     if ( iNotifier )
       
   448         {
       
   449         iNotifier->CancelNotifier( KUidConnectViaNote );
       
   450         }
       
   451 
       
   452     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectedViaConnMethodNote" );
       
   453     }
       
   454 
       
   455 // ---------------------------------------------------------
   317 // ---------------------------------------------------------
   456 // RConnectionUiUtilitiesSession::CWlanPowerSaveTestNote
   318 // RConnectionUiUtilitiesSession::CWlanPowerSaveTestNote
   457 // ---------------------------------------------------------
   319 // ---------------------------------------------------------
   458 //
   320 //
   459 void RConnectionUiUtilitiesSession::WlanPowerSaveTestNote( 
   321 void RConnectionUiUtilitiesSession::WlanPowerSaveTestNote( 
   524         }
   386         }
   525 
   387 
   526     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelEasyWapiDlg" );
   388     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelEasyWapiDlg" );
   527     }
   389     }
   528 
   390 
   529 // ---------------------------------------------------------
       
   530 // RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote()
       
   531 // ---------------------------------------------------------
       
   532 //
       
   533 void RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote(
       
   534                                                      TRequestStatus& aStatus )
       
   535     {    
       
   536     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote" );
       
   537 
       
   538     if ( iNotifier )
       
   539         {
       
   540         iNotifier->StartNotifierAndGetResponse( aStatus, 
       
   541                                     KUidNoWLANNetworksAvailableNote, 
       
   542                                     KNullDesC8(), 
       
   543                                     iResponseStrNoWLANNetworksAvailableNote );
       
   544         }
       
   545 
       
   546     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::NoWLANNetworksAvailableNote" );
       
   547     }    
       
   548 
       
   549 // ---------------------------------------------------------
       
   550 // RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup()
       
   551 // ---------------------------------------------------------
       
   552 //
       
   553 void RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup( 
       
   554         TPckgBuf< TConnUiConnectingViaDiscreetPopup>& aInfo,
       
   555         TRequestStatus& aStatus )
       
   556     {
       
   557     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup" );
       
   558 
       
   559     if ( iNotifier )
       
   560         {
       
   561         iNotifier->StartNotifierAndGetResponse( aStatus, KUidConnectingViaDiscreetPopup,
       
   562                                                 aInfo, aInfo );
       
   563         }
       
   564 
       
   565     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectingViaDiscreetPopup" );
       
   566     }    
       
   567     
       
   568 // ---------------------------------------------------------
       
   569 // RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup()
       
   570 // ---------------------------------------------------------
       
   571 //
       
   572 void RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup()
       
   573     {
       
   574     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup" );
       
   575 
       
   576     if ( iNotifier )
       
   577         {
       
   578         iNotifier->CancelNotifier( KUidConnectingViaDiscreetPopup );
       
   579         }
       
   580 
       
   581     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectingViaDiscreetPopup" );
       
   582     }    
       
   583 
       
   584 
       
   585 // ---------------------------------------------------------
       
   586 // RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup()
       
   587 // ---------------------------------------------------------
       
   588 //
       
   589 void RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup( 
       
   590         TPckgBuf< TInt >& aErrCode,
       
   591         TRequestStatus& aStatus )
       
   592     {
       
   593     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup" );
       
   594 
       
   595     if ( iNotifier )
       
   596         {
       
   597         iNotifier->StartNotifierAndGetResponse( aStatus, KUidConnectionErrorDiscreetPopup,
       
   598                                                 aErrCode, aErrCode );
       
   599         }
       
   600 
       
   601     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::ConnectionErrorDiscreetPopup" );
       
   602     }    
       
   603     
       
   604 // ---------------------------------------------------------
       
   605 // RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup()
       
   606 // ---------------------------------------------------------
       
   607 //
       
   608 void RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup()
       
   609     {
       
   610     CLOG_ENTERFN( "RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup" );
       
   611 
       
   612     if ( iNotifier )
       
   613         {
       
   614         iNotifier->CancelNotifier( KUidConnectionErrorDiscreetPopup );
       
   615         }
       
   616 
       
   617     CLOG_LEAVEFN( "RConnectionUiUtilitiesSession::CancelConnectionErrorDiscreetPopup" );
       
   618     }    
       
   619 
       
   620 // End of File
   391 // End of File