animationdocument.cpp

来自「a Animation control of symbian」· C++ 代码 · 共 89 行

CPP
89
字号
/*
============================================================================
 Name		: AnimationDocument.cpp
 Author	  : 
 Copyright   : Your copyright notice
 Description : CAnimationDocument implementation
============================================================================
*/


// INCLUDE FILES
#include "AnimationAppUi.h"
#include "AnimationDocument.h"

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

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

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

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

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

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

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

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

// End of File

⌨️ 快捷键说明

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