欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

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 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 + -