Esempio n. 1
0
/* 
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
*/
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);
}
Esempio n. 2
0
/*
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
*/
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);
    }