www.pudn.com > Animation.rar > AnimationDocument.cpp


/** 
 *  
 * @brief Definition of CAnimationDocument 
 * 
 * Copyright (c) EMCC Software Ltd 2003 
 * @version 1.0 
 */ 
 
// INCLUDE FILES 
 
//	Class include 
#include "AnimationDocument.h" 
 
// User includes 
#include "AnimationAppUi.h" // CAnimationAppUi 
 
// ================= MEMBER FUNCTIONS ======================= 
 
/** 
 * Constructs the document for aApp 
 * 
 * @param aApp for which the document is constructed 
 */ 
 
CAnimationDocument::CAnimationDocument(CEikApplication& aApp) 
: CAknDocument(aApp) 
	{ 
	} 
 
/** 
 * Symbian OS 2nd phase constructor. 
 * This is an empty implementation. 
 */ 
 
void CAnimationDocument::ConstructL() 
	{ 
	} 
 
/** 
 * Symbian OS 2 phase constructor. 
 * Constructs the CAnimationDocument using the constructor and the ConstructL  
 * method. 
 * @param aApp for which the CAnimationDocument is constructed 
 * @return The newly constructed CAnimationDocument 
 */ 
 
CAnimationDocument* CAnimationDocument::NewL(CEikApplication& aApp) 
	{ 
	CAnimationDocument* self = new (ELeave) CAnimationDocument(aApp); 
	CleanupStack::PushL(self); 
	self->ConstructL(); 
	CleanupStack::Pop(self); 
	return self; 
	} 
 
/** 
 * Creates the AppUi for this document. 
 * @return The newly constructed AppUi 
 */ 
	 
CEikAppUi* CAnimationDocument::CreateAppUiL() 
	{ 
	return new (ELeave) CAnimationAppUi; 
	} 
 
// End of File