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

📄 pizizhdocument.cpp

📁 实现了图像的切换效果,包括飞入飞出,雨滴效果,水平交错,百页窗效果,是symbian学习的好例子.
💻 CPP
字号:
/*
============================================================================
 Name		: pizizhDocument.cpp
 Author	  : pizi
 Copyright   : Your copyright notice
 Description : CpizizhDocument implementation
============================================================================
*/


// INCLUDE FILES
#include "pizizhAppUi.h"
#include "pizizhDocument.h"

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

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

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

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

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

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

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

// ---------------------------------------------------------------------------
// CpizizhDocument::CreateAppUiL()
// Constructs CreateAppUi.
// ---------------------------------------------------------------------------
//
CEikAppUi* CpizizhDocument::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 )
										CpizizhAppUi ) );
	}

// End of File

⌨️ 快捷键说明

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