EXPORT_C CScriptFile* CScriptFile::NewLC(CHTTPTestUtils& aTestUtils, const TDesC& aComponent) { CScriptFile* self = new (ELeave) CScriptFile(aTestUtils); CleanupStack::PushL(self); self->ConstructL(aComponent); return self; }