conslauncherdocument.cpp
来自「Symbian OS C++ 手机应用开发(第一卷)部分事例代码」· C++ 代码 · 共 42 行
CPP
42 行
/* Copyright (c) 2003 Symbian Software Ltd. All rights reserved */
#include "ConsLauncherAppUi.h"
#include "ConsLauncherDocument.h"
CConsLauncherDocument* CConsLauncherDocument::NewL(CEikApplication& aApp)
{
CConsLauncherDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
CConsLauncherDocument* CConsLauncherDocument::NewLC(CEikApplication& aApp)
{
CConsLauncherDocument* self = new (ELeave) CConsLauncherDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void CConsLauncherDocument::ConstructL()
{
// No implementation required
}
CConsLauncherDocument::CConsLauncherDocument(CEikApplication& aApp) : CAknDocument(aApp)
{
// No implementation required
}
CConsLauncherDocument::~CConsLauncherDocument()
{
// No implementation required
}
CEikAppUi* CConsLauncherDocument::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) CConsLauncherAppUi));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?