?? helloworlddocument.cpp
字號:
/*
* ============================================================================
* Name : CHelloWorldDocument from HelloWorldDocument.h
* Part of : HelloWorld
* Created : 2006-3-9 by Hewei
* Implementation notes:
* Initial content was generated by Series 60 AppWizard.
* Version :
* Copyright:
* ============================================================================
*/
// INCLUDE FILES
#include "HelloWorldDocument.h"
#include "HelloWorldAppUi.h"
// ================= MEMBER FUNCTIONS =======================
// constructor
CHelloWorldDocument::CHelloWorldDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}
// destructor
CHelloWorldDocument::~CHelloWorldDocument()
{
}
// EPOC default constructor can leave.
void CHelloWorldDocument::ConstructL()
{
}
// Two-phased constructor.
CHelloWorldDocument* CHelloWorldDocument::NewL(
CEikApplication& aApp) // CHelloWorldApp reference
{
CHelloWorldDocument* self = new (ELeave) CHelloWorldDocument( aApp );
CleanupStack::PushL( self );
self->ConstructL();
CleanupStack::Pop();
return self;
}
// ----------------------------------------------------
// CHelloWorldDocument::CreateAppUiL()
// constructs CHelloWorldAppUi
// ----------------------------------------------------
//
CEikAppUi* CHelloWorldDocument::CreateAppUiL()
{
return new (ELeave) CHelloWorldAppUi;
}
// End of File
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -