Exemplo n.º 1
0
CEventLogger* CEventLogger::NewLC()
{
	CEventLogger* self = new (ELeave)CEventLogger();
	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
}
Exemplo n.º 2
0
EXPORT_C CEventLogger* CEventLogger::NewL()
{
    CEventLogger* eventLogger = new(ELeave) CEventLogger;
    CleanupStack::PushL(eventLogger);
    eventLogger->ConstructL();
    CleanupStack::Pop();
    return eventLogger;
}