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

📄 rpsdocument.cpp

📁 roids60 game symbian os application development
💻 CPP
字号:
// Copyright (c) Symbian Ltd 2008. All rights reserved.


// INCLUDE FILES
#include "rpsAppUi.h"
#include "rpsDocument.h"

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

// -----------------------------------------------------------------------------
// CRpsDocument::NewL()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CRpsDocument* CRpsDocument::NewL( CEikApplication& aApp )
	{
	CRpsDocument* self = NewLC( aApp );
	CleanupStack::Pop( self );
	return self;
	}

// -----------------------------------------------------------------------------
// CRpsDocument::NewLC()
// Two-phased constructor.
// -----------------------------------------------------------------------------
//
CRpsDocument* CRpsDocument::NewLC( CEikApplication& aApp )
	{
	CRpsDocument* self =
		new ( ELeave ) CRpsDocument( aApp );

	CleanupStack::PushL( self );
	self->ConstructL();
	return self;
	}

// -----------------------------------------------------------------------------
// CRpsDocument::ConstructL()
// Symbian 2nd phase constructor can leave.
// -----------------------------------------------------------------------------
//
void CRpsDocument::ConstructL()
	{
	// No implementation required
	}

// -----------------------------------------------------------------------------
// CRpsDocument::CRpsDocument()
// C++ default constructor can NOT contain any code, that might leave.
// -----------------------------------------------------------------------------
//
CRpsDocument::CRpsDocument( CEikApplication& aApp )
	: CAknDocument( aApp )
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CRpsDocument::~CRpsDocument()
// Destructor.
// ---------------------------------------------------------------------------
//
CRpsDocument::~CRpsDocument()
	{
	// No implementation required
	}

// ---------------------------------------------------------------------------
// CRpsDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CRpsDocument::CreateAppUiL()
	{
	// Create the application user interface, and return a pointer to it;
	// the framework takes ownership of this object
	return ( static_cast <CEikAppUi*> ( new ( ELeave )
										CRpsAppUi ) );
	}

// End of File

⌨️ 快捷键说明

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