/* ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- */ void CExPolicy_Server::ShowGlobalDbgNoteL(const TDesC& aMessage) { CAknGlobalConfirmationQuery* pQ = CAknGlobalConfirmationQuery::NewL(); CleanupStack::PushL(pQ); TRequestStatus theStat = KRequestPending; pQ->ShowConfirmationQueryL(theStat,aMessage, R_AVKON_SOFTKEYS_OK_EMPTY); User::WaitForRequest(theStat); CleanupStack::PopAndDestroy(pQ); }
/* ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- */ void CTraceContainer::ShowNoteL(const TDesC& aMessage) { CAknGlobalConfirmationQuery* pQ = CAknGlobalConfirmationQuery::NewL(); CleanupStack::PushL(pQ); TRequestStatus theStat = KRequestPending; pQ->ShowConfirmationQueryL(theStat,aMessage, R_AVKON_SOFTKEYS_OK_CANCEL); User::WaitForRequest(theStat); CleanupStack::PopAndDestroy(pQ); }
// ------------------------------------------------------------------------ // CGlobalQueryHandlerAO::DoCancel // // Do nothing. // ------------------------------------------------------------------------ void CGlobalQueryHandlerAO::DoCancel() { if ( iGlobalConfirmationQuery ) { iGlobalConfirmationQuery->CancelConfirmationQuery(); } }
// --------------------------------------------------------- // CGlobalQueryHandlerAO::ShowGlobalQueryDialogL() // --------------------------------------------------------- // void CGlobalQueryHandlerAO::ShowGlobalQueryDialogL(const TDesC& aMessage, TInt aSoftkeys) { iGlobalConfirmationQuery = CAknGlobalConfirmationQuery::NewL(); iGlobalConfirmationQuery->ShowConfirmationQueryL (iStatus, aMessage, aSoftkeys); }