animationappui.cpp
来自「该源码演示了」· C++ 代码 · 共 65 行
CPP
65 行
/**
*
* @brief Definition of CAnimationAppUi
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// INCLUDE FILES
// Class include
#include "Animationappui.h"
#include "AnimationContainer.h"
// System includes
#include <Animation.rsg>
// User includes
#include "Animation.hrh" // TAnimationViewNumber
// ================= MEMBER FUNCTIONS =======================
/**
* Symbian OS 2nd phase constructor. Constructs the application's views,
* transferring ownership of them to the superclass.
* Sets view 1 as the default and remembers that this is the current view id.
*/
void CAnimationAppUi::ConstructL()
{
BaseConstructL();
iAnimContainer = CAnimationContainer::NewL(ApplicationRect());
}
/**
* Destructor.
*/
CAnimationAppUi::~CAnimationAppUi()
{
delete iAnimContainer;
}
/**
* From CEikAppUi, takes care of command handling for both views.
*
* @param aCommand command to be handled
*/
void CAnimationAppUi::HandleCommandL(TInt aCommand)
{
switch (aCommand)
{
case EEikCmdExit:
{
Exit();
break;
}
default:
break;
}
}
// End of File
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?