logexampledocument.cpp

来自「Log Engine的使用」· C++ 代码 · 共 76 行

CPP
76
字号
/*
* ============================================================================
*  Name     : CLogExampleDocument from LogExampleDocument.h
*  Part of  : LogExample
*  Created  : 26.05.2005 by Forum Nokia 
*  Implementation notes:
*     Initial content was generated by Series 60 Application Wizard.
*  Version  : 1.0
*  Copyright: Nokia Corporation
* ============================================================================
*/

// INCLUDE FILES
#include "LogExampleDocument.h"
#include "LogExampleAppui.h"

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

// ----------------------------------------------------
// CLogExampleDocument::CLogExampleDocument(CEikApplication& aApp)
// Symbian default constructor.
// ----------------------------------------------------
//
CLogExampleDocument::CLogExampleDocument(CEikApplication& aApp)
		: CAknDocument(aApp)    
    {
    }

// ----------------------------------------------------
// CLogExampleDocument::~CLogExampleDocument()
// Destructor
// Frees reserved resources
// ----------------------------------------------------
//
CLogExampleDocument::~CLogExampleDocument()
    {
    }

// ----------------------------------------------------------
// CLogExampleDocument::ConstructL()
// Two-phased constructor.
// ----------------------------------------------------------
//
void CLogExampleDocument::ConstructL()
    {
    }


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

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

// End of File  

⌨️ 快捷键说明

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