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

📄 example3dapp.cpp

📁 Symbian平台下的一个3D赛车游戏源码
💻 CPP
字号:
   /*
============================================================================
    * Name : Example3DApp.cpp
    * Part of : Example3D
    * Description : Definition of Example3DApp
    * Copyright (c) 2005 Nokia Corporation
============================================================================
    */

// INCLUDE FILES
#include    "Example3DApp.h"
#include    "Example3DDocument.h"

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

// ---------------------------------------------------------
// CExample3DApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CExample3DApp::AppDllUid() const
    {
    return KUidExample3D;
    }

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

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

// ---------------------------------------------------------
// E32Dll(TDllReason) 
// Entry point function for Symbian 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 + -