📄 animationdocument.cpp
字号:
/*
* ==============================================================================
* Name : animationdocument.cpp
* Part of : Animation example
* Interface :
* Description :
* Version :
*
* Copyright (c) 2004 - 2006 Nokia Corporation.
* This material, including documentation and any related
* computer programs, is protected by copyright controlled by
* Nokia Corporation.
* ==============================================================================
*/
// INCLUDE FILES
#include "animationappui.h"
#include "animationdocument.h"
// ============================ MEMBER FUNCTIONS ===============================
// -----------------------------------------------------------------------------
// CAnimationDocument::CAnimationDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CAnimationDocument::CAnimationDocument( CEikApplication& aApp )
: CEikDocument( aApp )
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CAnimationDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CAnimationDocument* CAnimationDocument::NewL( CEikApplication& aApp )
{
CAnimationDocument* self = NewLC( aApp );
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
// CAnimationDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CAnimationDocument* CAnimationDocument::NewLC( CEikApplication& aApp )
{
CAnimationDocument* self = new ( ELeave ) CAnimationDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
return self;
}
// -----------------------------------------------------------------------------
// CAnimationDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CAnimationDocument::ConstructL()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CAnimationDocument::~CAnimationDocument()
// Destructor.
// -----------------------------------------------------------------------------
//
CAnimationDocument::~CAnimationDocument()
{
// No implementation required
}
// -----------------------------------------------------------------------------
// CAnimationDocument::CreateAppUiL()
// Constructs CreateAppUi.
// -----------------------------------------------------------------------------
//
CEikAppUi* CAnimationDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it
CEikAppUi* appUi = new ( ELeave ) CAnimationAppUi( CCoeEnv::Static()->
WsSession() );
return appUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -