CSMSSender* CSMSSender::NewLC(MMsvObserver& aObserver) { CSMSSender* self = new (ELeave) CSMSSender(aObserver); CleanupStack::PushL(self); self->ConstructL(); return self; }
CSMSSender* CSMSSender::NewLC() /** Intended Usage: Static factory constructor. Uses two phase construction and leaves a CSMSSender instance on the CleanupStack. @returns a new CSMSSender instance. */ { CSMSSender* self = new(ELeave) CSMSSender; CleanupStack::PushL(self); self->ConstructL(); return self; }