phoneclientserver/phoneclient/src/ussdwrapper/cphcltussdnotecontroller.cpp
changeset 51 12bc758d6a02
parent 33 8d5d7fcf9b59
equal deleted inserted replaced
48:78df25012fda 51:12bc758d6a02
   170     TFLOGSTRING2("CPhCltUssdNoteController: ConstructL\
   170     TFLOGSTRING2("CPhCltUssdNoteController: ConstructL\
   171         init common textResolver = %d", textResolver ) 
   171         init common textResolver = %d", textResolver ) 
   172     //CHbDeviceProgressDialogSymbian
   172     //CHbDeviceProgressDialogSymbian
   173     iGlobalWaitNote = CHbDeviceProgressDialogSymbian::NewL(
   173     iGlobalWaitNote = CHbDeviceProgressDialogSymbian::NewL(
   174             CHbDeviceProgressDialogSymbian::EProgressDialog );
   174             CHbDeviceProgressDialogSymbian::EProgressDialog );
   175     CleanupStack::PushL( iGlobalWaitNote );
       
   176     HBufC* context = HbTextResolverSymbian::LoadLC( KUssdRequesting );
   175     HBufC* context = HbTextResolverSymbian::LoadLC( KUssdRequesting );
   177     iGlobalWaitNote->SetTextL( context->Des() );
   176     iGlobalWaitNote->SetTextL( context->Des() );
   178     HBufC* bottonText = HbTextResolverSymbian::LoadLC( KUssdHide );
   177     HBufC* bottonText = HbTextResolverSymbian::LoadLC( KUssdHide );
   179     iGlobalWaitNote->SetButtonTextL( bottonText->Des() );
   178     iGlobalWaitNote->SetButtonTextL( bottonText->Des() );
   180     iGlobalWaitNote->SetObserver( this );
   179     iGlobalWaitNote->SetObserver( this );
   184     iGlobalWaitNote->SetAutoClose( EFalse );
   183     iGlobalWaitNote->SetAutoClose( EFalse );
   185     iGlobalWaitNote->ShowL();
   184     iGlobalWaitNote->ShowL();
   186     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL after ShowL")
   185     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL after ShowL")
   187     CleanupStack::PopAndDestroy( bottonText );
   186     CleanupStack::PopAndDestroy( bottonText );
   188     CleanupStack::PopAndDestroy( context );
   187     CleanupStack::PopAndDestroy( context );
   189     CleanupStack::Pop( iGlobalWaitNote );
       
   190     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL after setactive")
   188     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL after setactive")
   191     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL exit")
   189     TFLOGSTRING("CPhCltUssdNoteController: ShowGlobalWaitNoteL exit")
   192     }
   190     }
   193 
   191 
   194 // -----------------------------------------------------------------------------
   192 // -----------------------------------------------------------------------------