📄 clientanimationappui.cpp
字号:
/**
*
* @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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -