aoexampledocument.cpp
来自「Active Object实现动画」· C++ 代码 · 共 49 行
CPP
49 行
/*
* ==============================================================================
* Name : CAOExampleDocument
* Part of : AOExample
* Created : 3.5.2004 by Markus Pelkonen
* Implementation notes: See detailed documentation from the file
* "AOExampleDocument.h"
* Version :
* Copyright: Nokia
* ==============================================================================
*/
#include "AOExampleDocument.h"
#include "AOExampleAppUi.h"
// -----------------------------------------------------------------------------
CAOExampleDocument::CAOExampleDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// -----------------------------------------------------------------------------
CAOExampleDocument::~CAOExampleDocument()
{
}
// -----------------------------------------------------------------------------
void CAOExampleDocument::ConstructL()
{
}
// -----------------------------------------------------------------------------
CAOExampleDocument* CAOExampleDocument::NewL(
CEikApplication& aApp) // CAOExampleApp reference
{
CAOExampleDocument* self = new (ELeave) CAOExampleDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// -----------------------------------------------------------------------------
CEikAppUi* CAOExampleDocument::CreateAppUiL()
{
return new (ELeave) CAOExampleAppUi;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?