frmesdocument.cpp
来自「symbian 3nd 实现短信息收发」· C++ 代码 · 共 44 行
CPP
44 行
/* Copyright (c) 2008, Nokia. All rights reserved */
#include "FrMesAppUi.h"
#include "FrMesDocument.h"
CFrMesDocument* CFrMesDocument::NewL(CEikApplication& aApp)
{
CFrMesDocument* self = NewLC(aApp);
CleanupStack::Pop(self);
return self;
}
CFrMesDocument* CFrMesDocument::NewLC(CEikApplication& aApp)
{
CFrMesDocument* self = new (ELeave) CFrMesDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
return self;
}
void CFrMesDocument::ConstructL()
{
// Add any construction that can leave here
}
CFrMesDocument::CFrMesDocument(CEikApplication& aApp) : CAknDocument(aApp)
{
// Add any construction that can not leave here
}
CFrMesDocument::~CFrMesDocument()
{
// Any destruction code here
}
CEikAppUi* CFrMesDocument::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) CFrMesAppUi));
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?