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

📄 rpsapplication.cpp

📁 基于symbian UIQ 的一款古老的飞机游戏。对入门学习很有帮助。
💻 CPP
字号:
// Copyright (c) Symbian Ltd 2008. All rights reserved.

// INCLUDE FILES
#include <eikstart.h>
#include "rps.hrh"
#include "rpsDocument.h"
#include "rpsApplication.h"

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

// -----------------------------------------------------------------------------
// CRpsApplication::CreateDocumentL()
// Creates CApaDocument object
// -----------------------------------------------------------------------------
//
CApaDocument* CRpsApplication::CreateDocumentL()
	{
	// Create an rps document, and return a pointer to it
	return (static_cast<CApaDocument*>
					( CRpsDocument::NewL( *this ) ) );
	}

// -----------------------------------------------------------------------------
// CRpsApplication::AppDllUid()
// Returns application UID
// -----------------------------------------------------------------------------
//
TUid CRpsApplication::AppDllUid() const
	{
	// Return the UID for the rps application
	return KUidRpsApp;
	}

// End of File
CApaApplication* NewApplication()
	{
	return new CRpsApplication;
	}

GLDEF_C TInt E32Main()
	{
	return EikStart::RunApplication( NewApplication );
	}

⌨️ 快捷键说明

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