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


/** 
 *  
 * @brief Definition of CAnimationApplication 
 * 
 * Copyright (c) EMCC Software Ltd 2003 
 * @version 1.0 
 */ 
 
// INCLUDE FILES 
 
// Class include 
#include "AnimationApplication.h" 
 
// User includes 
#include "AnimationDocument.h" // CAnimationDocument 
 
// ================= MEMBER FUNCTIONS ======================= 
 
/** 
 * @brief From CApaApplication, returns the application's UID (KUidAnimation). 
 * @return The value of KUidAnimation. 
 */ 
 
TUid CAnimationApplication::AppDllUid() const 
	{ 
	return KUidAnimation; 
	} 
 
/** 
 * @brief From CApaApplication, creates a CAnimationDocument object. 
 * @return A pointer to the created document object. 
 */	  
 
CApaDocument* CAnimationApplication::CreateDocumentL() 
	{ 
	return CAnimationDocument::NewL(*this); 
	} 
 
// ================= OTHER EXPORTED FUNCTIONS ============== 
 
/** 
 * Constructs a CAnimationApplication.   
 * @return A pointer to the application object. 
 */ 
 
EXPORT_C CApaApplication* NewApplication() 
	{ 
	return new CAnimationApplication; 
	} 
 
/** 
 * @brief This is the entry point function for this Series 60 App 
 * @return KErrNone No error 
 */ 
 
GLDEF_C TInt E32Dll(TDllReason) 
	{ 
	return KErrNone; 
	} 
 
// End of File