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

📄 lvtetrisapp.cpp

📁 俄罗斯方块
💻 CPP
字号:
/*
============================================================================
 Name		: LvTetrisApp.cpp
 Author	  : lvky@cn.fujitsu.com
 Copyright   : Lvky All copyright 
 Description : Main application class
============================================================================
*/

// INCLUDE FILES
#include	"LvTetrisApp.h"
#include	"LvTetrisDocument.h"

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

// ---------------------------------------------------------
// CLvTetrisApp::AppDllUid()
// Returns application UID
// ---------------------------------------------------------
//
TUid CLvTetrisApp::AppDllUid() const
	{
	return KUidLvTetris;
	}


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

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

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



⌨️ 快捷键说明

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