Update contrib.
2 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of "Eclipse Public License v1.0"
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
15 // Header file: Basic tests.
20 @file OpenFileByHandle1511.h
23 #ifndef OPENFILEBYHANDLE1511_H__
24 #define OPENFILEBYHANDLE1511_H__
26 #include "TSI_MMFVCLNT.h"
31 * @class CTestMmfVclntOpenFile1511
34 class CTestMmfVclntOpenFile1511 : public CTestMmfVclntStep, public MVideoRecorderUtilityObserver
37 static CTestMmfVclntOpenFile1511* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aRec);
38 static CTestMmfVclntOpenFile1511* NewLC(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aRec);
39 virtual TVerdict DoTestStepL();
40 // MVideoRecorderUtilityObserver
41 virtual void MvruoOpenComplete(TInt aError);
42 virtual void MvruoRecordComplete(TInt aError);
43 virtual void MvruoPrepareComplete(TInt aError);
44 virtual void MvruoEvent(const TMMFEvent& aEvent);
47 CTestMmfVclntOpenFile1511(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aRec);
48 TVerdict PerformTestStepL();
50 TBuf<KNameBufSize> iSectName; // Section name for retrieving filename
51 TBuf<KNameBufSize> iKeyName; // Key name for retrieving filename
53 const TBool iRec; // Does this test require recording of a video
54 TTimeIntervalMicroSeconds iDuration;// Stores duration of video
57 #endif // OPENFILEBYHANDLE1511_H__