📄 mmsexampledocument.cpp
字号:
/*
* ============================================================================
* Name : CMMSExampleDocument from MMSExampleDocument.h
* Part of : MMSExample
* Created : 04.11.2006 by Forum Nokia
* Implementation notes:
* Initial content was generated by Nokia Series 60 AppWizard.
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -