CTimeOutTimer* CTimeOutTimer::NewLC(const TInt aPriority, MTimeOutNotifier& aTimeOutNotify) { CTimeOutTimer* self = new (ELeave)CTimeOutTimer(aPriority, aTimeOutNotify); CleanupStack::PushL(self); self->ConstructL(); return self; }
/* ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- */ CTimeOutTimer* CTimeOutTimer::NewL(const TInt aPriority, MTimeOutNotify& aTimeOutNotify) { CTimeOutTimer *p = new (ELeave) CTimeOutTimer(aPriority); CleanupStack::PushL(p); p->ConstructL(aTimeOutNotify); CleanupStack::Pop(); return p; }
CTimeOutTimer* CTimeOutTimer::NewL(const TInt aPriority, CWebServerCon* aWebServerConnection) { CTimeOutTimer *p = new (ELeave) CTimeOutTimer(aPriority); CleanupStack::PushL(p); p->ConstructL(aWebServerConnection); CleanupStack::Pop(); return p; }