mmsexampledocument.cpp
来自「Symbian c++ 的彩信发送接收实例」· C++ 代码 · 共 67 行
CPP
67 行
/*
* ============================================================================
* Name : CMMSExampleDocument from MMSExampleDocument.h
* Part of : MMSExample
* Created : 04.11.2006 by Forum Nokia
* Implementation notes:
* Version : 2.0
* Copyright: Nokia Corporation
* ============================================================================
*/
// INCLUDE FILES
#include "MMSExampleDocument.h"
#include "MMSExampleAppUi.h"
//
// CMMSExampleDocument
//
/*
-----------------------------------------------------------------------------
CMMSExampleDocument::NewL(
2nd phase construction.
-----------------------------------------------------------------------------
*/
CMMSExampleDocument* CMMSExampleDocument::NewL(CEikApplication& aApp)
{
CMMSExampleDocument* self = new(ELeave) CMMSExampleDocument(aApp);
CleanupStack::PushL(self);
self->ConstructL();
CleanupStack::Pop(); //self.
return self;
}
/*
-----------------------------------------------------------------------------
CMMSExampleDocument::CMMSExampleDocument()
C++ constructor
-----------------------------------------------------------------------------
*/
CMMSExampleDocument::CMMSExampleDocument(CEikApplication& aApp)
: CEikDocument(aApp)
{
}
/*
-----------------------------------------------------------------------------
CMMSExampleDocument::ConstructL()
2nd phase constructor.
-----------------------------------------------------------------------------
*/
void CMMSExampleDocument::ConstructL()
{
}
/*
-----------------------------------------------------------------------------
CMMSExampleDocument::CreateAppUiL()
Create new CMMSExampleAppUi object
Return values: CEikAppUi*
-----------------------------------------------------------------------------
*/
CEikAppUi* CMMSExampleDocument::CreateAppUiL()
{
return (new(ELeave) CMMSExampleAppUi);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?