mmlibs/mmfw/tsrc/mmfintegrationtest/vclntavi/inc/testvideoplayer.h
changeset 4 9d4397b300d1
parent 0 b8ed18f6c07b
equal deleted inserted replaced
1:fcaf4606ba4e 4:9d4397b300d1
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   537 	TInt iPlayVelocity;
   537 	TInt iPlayVelocity;
   538     RFs iFs;
   538     RFs iFs;
   539     RFile iFile;
   539     RFile iFile;
   540     };
   540     };
   541 
   541 
       
   542 /**
       
   543  * Load and initialise a video file.
       
   544  * Set external display control
       
   545  *
       
   546  * RTestVclntExternalDisplayControl
       
   547  *
       
   548  */
       
   549 class RTestVclntExternalDisplayControl : public RTestVclntAviPlayerStep
       
   550     {
       
   551 public:
       
   552     RTestVclntExternalDisplayControl(const TDesC& aTestName, const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
       
   553     static RTestVclntExternalDisplayControl* NewL(const TDesC& aTestName,const TDesC& aSectName,const TDesC& aKeyName, TInt aExpectedError, const TBool aPlay);
       
   554     virtual TVerdict DoTestStepL();
       
   555     virtual TVerdict DoTestL(CVideoPlayerUtility* aVideo);
       
   556     virtual void FsmL(TVclntTestPlayEvents aEventCode);
       
   557     virtual TVerdict SetCacheSize();
       
   558     TVerdict SetExternalDisplayControl();
       
   559 protected:
       
   560     const TBool iPlay;
       
   561     TTimeIntervalMicroSeconds iDuration;
       
   562     TBool iExternalDisplayControl;
       
   563     };
       
   564 
   542 #endif //__TESTVIDEOPLAYER_H__
   565 #endif //__TESTVIDEOPLAYER_H__