aknexeditordocument.cpp

来自「国内著名嵌入式培训机构内部资料,内含一些实例代码,包括技术专题书籍」· C++ 代码 · 共 53 行

CPP
53
字号
/*  Copyright (c) 2004, Nokia. All rights reserved */

// INCLUDE FILES
#include "AknExEditorDocument.h"
#include "AknExEditorAppUi.h"

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

// ----------------------------------------------------------------------------
// CAknExEditorDocument::ConstructL()
// two phased constructor
//-----------------------------------------------------------------------------
//
void CAknExEditorDocument::ConstructL()
    {
    }

// ----------------------------------------------------------------------------
// CAknExEditorDocument::ConstructL()
// two phased constructor
//-----------------------------------------------------------------------------
//
CAknExEditorDocument* CAknExEditorDocument::NewL( 
        CEikApplication& aApp )     // CAknExEditorApp reference
    {
    CAknExEditorDocument* self = new ( ELeave ) CAknExEditorDocument( aApp );
    CleanupStack::PushL( self );
    self->ConstructL();
    CleanupStack::Pop();
    return self;
    }

// ----------------------------------------------------------------------------
// CAknExEditorDocument::~CAknExEditorDocument()
// Destructor
//-----------------------------------------------------------------------------
//
CAknExEditorDocument::~CAknExEditorDocument()
    {
    }

// ----------------------------------------------------
// CAknExEditorDocument::CreateAppUiL()
// constructs CAknExEditorAppUi
//
// ----------------------------------------------------
CEikAppUi* CAknExEditorDocument::CreateAppUiL()
    {
    return new ( ELeave ) CAknExEditorAppUi;
    }

// End of File  

⌨️ 快捷键说明

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