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

📄 helloapp.cpp

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

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

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

// ---------------------------------------------------------
// CHelloApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CHelloApp::AppDllUid() const
    {
    return KUidHello;
    }

   
// ---------------------------------------------------------
// CHelloApp::CreateDocumentL()
// Creates CHelloDocument object
// ---------------------------------------------------------
//
CApaDocument* CHelloApp::CreateDocumentL()
    {
    return CHelloDocument::NewL( *this );
    }

// ================= OTHER EXPORTED FUNCTIONS ==============
//
// ---------------------------------------------------------
// NewApplication() 
// Constructs CHelloApp
// Returns: created application object
// ---------------------------------------------------------
//
EXPORT_C CApaApplication* NewApplication()
    {
    return new CHelloApp;
    }

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for EPOC Apps
// Returns: KErrNone: No error
// ---------------------------------------------------------
//
GLDEF_C TInt E32Dll( TDllReason )
    {
    return KErrNone;
    }

// End of File  

⌨️ 快捷键说明

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