Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef TESTSTEPVCLNT2CRP_H
17 #define TESTSTEPVCLNT2CRP_H
19 #include <surfaceeventhandler.h>
20 #include <graphics/surface.h>
22 #include "testvideoplayer2.h"
24 class RTestStepVclnt2CRP :
25 public RTestVclnt2PlayFile,
26 public MMMFSurfaceEventHandler
29 static RTestStepVclnt2CRP* NewL(const TDesC& aName);
30 ~RTestStepVclnt2CRP();
32 // MMMFSurfaceEventHandler
33 void MmsehSurfaceCreated(TInt aDisplayId, const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
34 void MmsehSurfaceParametersChanged(const TSurfaceId& aId, const TRect& aCropRect, TVideoAspectRatio aAspectRatio);
35 void MmsehRemoveSurface(const TSurfaceId& aId);
38 TVerdict DoTestStepPreambleL();
39 TVerdict DoTestStepPostambleL();
41 virtual void HandleOpenCompleteL();
44 RTestStepVclnt2CRP(const TDesC& aName);
46 void FailTest(const TDesC& aMessage);
52 TSurfaceId iSurfaceId;
54 RWindow* iSurfaceWindow;
57 #endif // TESTSTEPVCLNT2CRP_H