www.pudn.com > symbianex.rar > CTest.cpp


// CTest.cpp 
// 
// Author: LiuLiping 
// 
// version: 1.0 
// Date: 2006-1-19 
// 
// This Example print the member-variable's value. 
// The Example define three type of member-variables such as TText,TInt and TReal. 
// In member-function use a TAny type  
// Include cheif content of MemoryManagement  
 
#include "CommonFramework.h" 
#include "CMemoryManagement.h" 
 
 
////////////////////////////////////////////////////////////////////////////// 
// 
// Do the example 
// 
////////////////////////////////////////////////////////////////////////////// 
 
void TestMemoryManangement() 
{ 
 
	CMemoryManagement* test = CMemoryManagement::NewL(console,'a',3,5.5); 
	CleanupStack::PushL(test); 
	test->Print(); 
	CleanupStack::PopAndDestroy(test); 
 
} 
 
LOCAL_C void doExampleL() 
{ 
	TestMemoryManangement(); 
}