mtmsexampledocument.cpp

来自「series60 应用程序开发的源代码 series60 应用程序开发的源代码」· C++ 代码 · 共 63 行

CPP
63
字号
/**
* 
* @brief Definition of CMtmsExampleDocument
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/

// INCLUDE FILES

// Class include
#include "MtmsExampleDocument.h"

// User includes
#include "MtmsExampleAppUi.h"    // CEMCCDialogBasedAppUi

// ================= MEMBER FUNCTIONS =======================

/**
* Constructs the document for aApp
*
* @param aApp for which the document is constructed
*/
CMtmsExampleDocument::CMtmsExampleDocument(CEikApplication& aApp)
: CAknDocument(aApp)
{
}

/**
* Symbian OS 2nd phase constructor.
* This is an empty implementation.
*/
void CMtmsExampleDocument::ConstructL()
{
}

/**
* Symbian OS 2 phase constructor.
* Constructs the CEMCCDialogBasedDocument using the constructor and the ConstructL 
* method.
* @param aApp for which the CEMCCDialogBasedDocument is constructed
* @return The newly constructed CEMCCDialogBasedDocument
*/
CMtmsExampleDocument* CMtmsExampleDocument::NewL(CEikApplication& aApp)
{
    CMtmsExampleDocument* self = new (ELeave) CMtmsExampleDocument(aApp);
    CleanupStack::PushL(self);
    self->ConstructL();
    CleanupStack::Pop(self);
    return self;
}

/**
* Creates the AppUi for this document.
* @return The newly constructed AppUi
*/    
CEikAppUi* CMtmsExampleDocument::CreateAppUiL()
{
    return new (ELeave) CMtmsExampleAppUi;
}

// End of File    

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?