phoneapp/phoneuivoipextension/src/cphonevoiperrormessageshandler.cpp
changeset 56 5bcb308bd24d
parent 37 ba76fc04e6c2
child 74 d1c62c765e48
equal deleted inserted replaced
46:bc5a64e5bc3c 56:5bcb308bd24d
   292                 CCoeEnv::Static() ); // Load new buffer
   292                 CCoeEnv::Static() ); // Load new buffer
   293 
   293 
   294         }
   294         }
   295      
   295      
   296     globalNoteParam.SetText( *text );
   296     globalNoteParam.SetText( *text );
   297     globalNoteParam.SetType( EAknGlobalConfirmationNote );
   297     globalNoteParam.SetType( EPhoneMessageBoxInformation );
   298     globalNoteParam.SetTone( EAvkonSIDInformationTone );
   298 
   299             
   299             
   300     iViewCommandHandle->ExecuteCommandL( 
   300     iViewCommandHandle->ExecuteCommandL( 
   301             EPhoneViewShowGlobalNote, &globalNoteParam );
   301             EPhoneViewShowGlobalNote, &globalNoteParam );
   302     
   302     
   303     CleanupStack::PopAndDestroy( text );
   303     CleanupStack::PopAndDestroy( text );
   399         iViewCommandHandle->ExecuteCommandL( 
   399         iViewCommandHandle->ExecuteCommandL( 
   400              EPhoneViewSetGlobalNotifiersDisabled,
   400              EPhoneViewSetGlobalNotifiersDisabled,
   401             &globalNotifierParam );
   401             &globalNotifierParam );
   402             
   402             
   403         TPhoneCmdParamGlobalNote globalNoteParam;
   403         TPhoneCmdParamGlobalNote globalNoteParam;
   404         globalNoteParam.SetType( EAknGlobalErrorNote );
   404         globalNoteParam.SetType( EPhoneMessageBoxInformation );
   405         globalNoteParam.SetTextResourceId( 
   405         globalNoteParam.SetTextResourceId( 
   406             CPhoneMainResourceResolver::Instance()->
   406             CPhoneMainResourceResolver::Instance()->
   407             ResolveResourceID( aResourceId ) );
   407             ResolveResourceID( aResourceId ) );
   408         globalNoteParam.SetText( aText );
   408         globalNoteParam.SetText( aText );
   409         globalNoteParam.SetTone( CAknNoteDialog::EErrorTone );
       
   410 
   409 
   411         iViewCommandHandle->ExecuteCommandL(  
   410         iViewCommandHandle->ExecuteCommandL(  
   412             EPhoneViewShowGlobalNote, &globalNoteParam );
   411             EPhoneViewShowGlobalNote, &globalNoteParam );
   413         } 
   412         } 
   414     }
   413     }