helpergeniusdocument.cpp
来自「个人手机助理套件:包含1、记事本(备忘录)、名片夹、名片夹的上传下载(异地备份)」· C++ 代码 · 共 44 行
CPP
44 行
/* Copyright (c) 2008, Nokia. All rights reserved */
#include "HelperGeniusAppUi.h"
#include "HelperGeniusDocument.h"
CHelperGeniusDocument* CHelperGeniusDocument::NewL(CEikApplication& aApp)
{
CHelperGeniusDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
CHelperGeniusDocument* CHelperGeniusDocument::NewLC(CEikApplication& aApp)
{
CHelperGeniusDocument* self = new (ELeave) CHelperGeniusDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void CHelperGeniusDocument::ConstructL()
{
// Add any construction that can leave here
}
CHelperGeniusDocument::CHelperGeniusDocument(CEikApplication& aApp) : CAknDocument(aApp)
{
// Add any construction that can not leave here
}
CHelperGeniusDocument::~CHelperGeniusDocument()
{
// Any destruction code here
}
CEikAppUi* CHelperGeniusDocument::CreateAppUiL()
{
// Create the application user interface, and return a pointer to it;
// the framework takes ownership of this object
return (static_cast<CEikAppUi*>(new (ELeave) CHelperGeniusAppUi));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?