clientanimationappui.cpp
来自「最新官方例子,图形,描述副,基本控件,通讯协议,等等,」· C++ 代码 · 共 67 行
CPP
67 行
/**
*
* @brief Definition of CClientAnimationAppUi
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "ClientAnimationappui.h"
#include "ClientAnimationContainer.h"
// System includes
#include <ClientAnimation.rsg>
// User includes
#include "ClientAnimation.hrh"
// ================= MEMBER FUNCTIONS =======================
/**
* Symbian OS 2nd phase constructor. Constructs the control containing the client animation
* code setting its rectangular area to be ApplicationRect() - aka the full screen
*/
void CClientAnimationAppUi::ConstructL()
{
BaseConstructL();
iAnimContainer = CClientAnimationContainer::NewL(ApplicationRect());
}
/**
* Destructor.
*/
CClientAnimationAppUi::~CClientAnimationAppUi()
{
delete iAnimContainer;
}
/**
* From CEikAppUi, takes care of command handling for the application.
*
* @param aCommand command to be handled
*/
void CClientAnimationAppUi::HandleCommandL(TInt aCommand)
{
switch (aCommand)
{
case EEikCmdExit:
{
iAnimContainer->StopAnimation();
Exit();
break;
}
default:
break;
}
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?