taskmgrdocument.cpp
来自「基于Symbian s60 2nd 下的任务管理器程序。」· C++ 代码 · 共 43 行
CPP
43 行
/* Copyright (c) 2003, Nokia. All rights reserved */
#include "taskmgrAppUi.h"
#include "taskmgrDocument.h"
CtaskmgrDocument* CtaskmgrDocument::NewL(CEikApplication& aApp)
{
CtaskmgrDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
CtaskmgrDocument* CtaskmgrDocument::NewLC(CEikApplication& aApp)
{
CtaskmgrDocument* self = new (ELeave) CtaskmgrDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void CtaskmgrDocument::ConstructL()
{
// No implementation required
}
CtaskmgrDocument::CtaskmgrDocument(CEikApplication& aApp) : CAknDocument(aApp)
{
// No implementation required
}
CtaskmgrDocument::~CtaskmgrDocument()
{
// No implementation required
}
CEikAppUi* CtaskmgrDocument::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) CtaskmgrAppUi));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?