⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hellodocument.cpp

📁 从s60平台移植到UIQ平台的例子代码:In this code we shall consider taking a simple HelloWorld GUI application writte
💻 CPP
字号:
/*
* ============================================================================
*  Name     : CHelloDocument from HelloDocument.h
*  Part of  : Hello
*  Created  : 21/05/2002 by 
*  Implementation notes:
*     Initial content was generated by Nokia Series 60 AppWizard.
*  Version  :
*  Copyright: 
* ============================================================================
*/

// INCLUDE FILES
#include "HelloDocument.h"
#include "HelloAppUi.h"

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

// constructor
CHelloDocument::CHelloDocument(CEikApplication& aApp)
: CQikDocument(aApp)    
    {
    }

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

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

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

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

// End of File  

⌨️ 快捷键说明

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