WEB开发网
开发学院手机开发Symbian 开发 Symbian一个活动对象的测试例子 阅读

Symbian一个活动对象的测试例子

 2010-10-20 08:00:45 来源:WEB开发网   
核心提示:}// // CActiveTest2AppUi::~CActiveTest2AppUi()// Destructor// Frees reserved resources// //CActiveTest2AppUi::~CActiveTest2AppUi(){if (iAppContainer){RemoveFrom

}

// ----------------------------------------------------

// CActiveTest2AppUi::~CActiveTest2AppUi()

// Destructor

// Frees reserved resources

// ----------------------------------------------------

//

CActiveTest2AppUi::~CActiveTest2AppUi()

{

if (iAppContainer)

{

RemoveFromStack( iAppContainer );

delete iAppContainer;

}

if(iTest2NewClass)

{

delete iTest2NewClass;

}

}

// ------------------------------------------------------------------------------

// CActiveTest2AppUi::DynInitMenuPaneL(TInt aResourceId,CEikMenuPane* aMenuPane)

// This function is called by the EIKON framework just before it displays

// a menu pane. Its default implementation is empty, and by overriding it,

// the application can set the state of menu items dynamically according

// to the state of application data.

// ------------------------------------------------------------------------------

//

void CActiveTest2AppUi::DynInitMenuPaneL(

TInt /*aResourceId*/,CEikMenuPane* /*aMenuPane*/)

{

}

// ----------------------------------------------------

// CActiveTest2AppUi::HandleKeyEventL(

// const TKeyEvent& aKeyEvent,TEventCode /*aType*/)

// takes care of key event handling

// ----------------------------------------------------

//

TKeyResponse CActiveTest2AppUi::HandleKeyEventL(

const TKeyEvent& /*aKeyEvent*/,TEventCode /*aType*/)

{

return EKeyWasNotConsumed;

}

// ----------------------------------------------------

// CActiveTest2AppUi::HandleCommandL(TInt aCommand)

上一页  1 2 3 4 5 6  下一页

Tags:Symbian 一个 活动

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接