?? rtxappui.cpp
字號:
/*
* ============================================================================
* Name : CRTxAppUi from RTxAppUi.cpp
* Part of : RTx
* Created : 2003. 08. 15. by (V) - Forum Nokia
* Implementation notes: AppUI implemented
*
* Version :
* Copyright: Forum Nokia
* ============================================================================
*/
// INCLUDE FILES
#include "RTxAppUi.h"
#include "RTxContainer.h"
#include <RTx.rsg>
#include <avkon.hrh>
// ================= MEMBER FUNCTIONS =======================
//
// ----------------------------------------------------------
// CRTxAppUi::ConstructL()
//
// ----------------------------------------------------------
//
void CRTxAppUi::ConstructL()
{
BaseConstructL();
iAppContainer = new (ELeave) CRTxContainer;
iAppContainer->SetMopParent(this);
iAppContainer->ConstructL( ClientRect() );
AddToStackL( iAppContainer );
}
// ----------------------------------------------------
// CRTxAppUi::~CRTxAppUi()
// Destructor
// Frees reserved resources
// ----------------------------------------------------
//
CRTxAppUi::~CRTxAppUi()
{
if (iAppContainer)
{
RemoveFromStack( iAppContainer );
delete iAppContainer;
}
}
// ----------------------------------------------------
// CRTxAppUi::HandleCommandL(TInt aCommand)
//
// ----------------------------------------------------
//
void CRTxAppUi::HandleCommandL(TInt aCommand)
{
switch ( aCommand )
{
case EAknSoftkeyBack:
case EEikCmdExit:
{
Exit();
break;
}
default:
break;
}
}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -