diff -r 1c0a769d0cc5 -r 2672ba96448e mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/OpenFileByHandle0034.h --- a/mmlibs/mmfw/tsrc/mmfintegrationtest/vclnt/OpenFileByHandle0034.h Thu May 27 14:24:04 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,57 +0,0 @@ - -// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). -// All rights reserved. -// This component and the accompanying materials are made available -// under the terms of "Eclipse Public License v1.0" -// which accompanies this distribution, and is available -// at the URL "http://www.eclipse.org/legal/epl-v10.html". -// -// Initial Contributors: -// Nokia Corporation - initial contribution. -// -// Contributors: -// -// Description: -// Header file: Basic tests. -// -// - -/** - @file OpenFileByHandle0034.h -*/ - -#ifndef OPENFILEBYHANDLE0034_H__ -#define OPENFILEBYHANDLE0034_H__ - -#include "TSI_MMFVCLNT.h" - -/** - * Play Video file - * - * @class CTestMmfVclntOpenFile0034 - * - */ -class CTestMmfVclntOpenFile0034 : public CTestMmfVclntStep, public MVideoPlayerUtilityObserver - { -public: - static CTestMmfVclntOpenFile0034* NewL(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aPlay); - static CTestMmfVclntOpenFile0034* NewLC(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aPlay); - virtual TVerdict DoTestStepL(); - // MVideoPlayerUtilityObserver - virtual void MvpuoOpenComplete(TInt aError); - virtual void MvpuoPrepareComplete(TInt aError); - virtual void MvpuoFrameReady(CFbsBitmap& aFrame, TInt aError); - virtual void MvpuoPlayComplete(TInt aError); - virtual void MvpuoEvent(const TMMFEvent& aEvent); -protected: - CTestMmfVclntOpenFile0034(const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TBool aPlay); - TVerdict PerformTestStepL(); - - TBuf iSectName; // Section name for retrieving filename - TBuf iKeyName; // Key name for retrieving filename - TInt iError; - const TBool iPlay; // Does this test require playing the video - TTimeIntervalMicroSeconds iDuration; // Stores duration of video - }; - -#endif // OPENFILEBYHANDLE0034_H__