📄 helloworld2document.cpp
字号:
/*
* ============================================================================
* Name : CHelloWorld2Document from HelloWorld2Document.h
* Part of : HelloWorld2
* Created : 2006-3-14 by
* Implementation notes:
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright:
* ============================================================================
*/
// INCLUDE FILES
#include "HelloWorld2Document.h"
#include "HelloWorld2AppUi.h"
// ================= MEMBER FUNCTIONS =======================
// constructor
CHelloWorld2Document::CHelloWorld2Document(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// destructor
CHelloWorld2Document::~CHelloWorld2Document()
{
}
// EPOC default constructor can leave.
void CHelloWorld2Document::ConstructL()
{
}
// Two-phased constructor.
CHelloWorld2Document* CHelloWorld2Document::NewL(
CEikApplication& aApp) // CHelloWorld2App reference
{
CHelloWorld2Document* self = new (ELeave) CHelloWorld2Document( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// ----------------------------------------------------
// CHelloWorld2Document::CreateAppUiL()
// constructs CHelloWorld2AppUi
// ----------------------------------------------------
//
CEikAppUi* CHelloWorld2Document::CreateAppUiL()
{
return new (ELeave) CHelloWorld2AppUi;
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -