textimagesounddocument.cpp

来自「《基于symbian手机开发与应用》一书的源代码」· C++ 代码 · 共 58 行

CPP
58
字号
/*
* ============================================================================
*  Name     : CTextImageSoundDocument from TextImageSoundDocument.h
*  Part of  : TextImageSound
*  Created  : 2006-4-22 by LiuLiping
*  Implementation notes:
*     Initial content was generated by Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include "TextImageSoundDocument.h"
#include "TextImageSoundAppUi.h"

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

// constructor
CTextImageSoundDocument::CTextImageSoundDocument(CEikApplication& aApp)
: CAknDocument(aApp)    
    {
    }

// destructor
CTextImageSoundDocument::~CTextImageSoundDocument()
    {
    }

// EPOC default constructor can leave.
void CTextImageSoundDocument::ConstructL()
    {
    }

// Two-phased constructor.
CTextImageSoundDocument* CTextImageSoundDocument::NewL(
        CEikApplication& aApp)     // CTextImageSoundApp reference
    {
    CTextImageSoundDocument* self = new (ELeave) CTextImageSoundDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();

    return self;
    }
    
// ----------------------------------------------------
// CTextImageSoundDocument::CreateAppUiL()
// constructs CTextImageSoundAppUi
// ----------------------------------------------------
//
CEikAppUi* CTextImageSoundDocument::CreateAppUiL()
    {
    return new (ELeave) CTextImageSoundAppUi;
    }

// End of File  

⌨️ 快捷键说明

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