multimediafdocument.cpp

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

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

// INCLUDE FILES

// Class includes
#include "MultiMediaFDocument.h"

// System includes

// User includes
#include "MultiMediaFAppUi.h" // CMultiMediaFAppUi

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

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

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

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

⌨️ 快捷键说明

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