lafagnosticuifoundation/animation/tef/TCustomStep.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 // Copyright (c) 2005-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".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent - Internal Symbian test code 
       
    19 */
       
    20 
       
    21 #ifndef __TCUSTOMSTEP_H__
       
    22 #define __TCUSTOMSTEP_H__
       
    23 
       
    24 #include "AnimationTestStep.h"
       
    25 
       
    26 #include <f32file.h>
       
    27 #include <test/testexecutestepbase.h>
       
    28 
       
    29 #include "TestWindows.h"
       
    30 #include "BasicAnimation.h"
       
    31 #include "SpriteAnimation.h"
       
    32 #include "AnimationGroup.h"
       
    33 #include "ICLAnimationDataProvider.h"
       
    34 
       
    35 _LIT(KCustomStep, "Custom");
       
    36 
       
    37 //
       
    38 // Windows:
       
    39 //
       
    40 class CCustomStepAnimationWindow : public CTestWindow
       
    41 	{
       
    42 public:
       
    43 	CCustomStepAnimationWindow(RWsSession& aWs, CTestWindowGroup& aGroup, CWindowGc& aGc);
       
    44 	void DrawL();
       
    45 	};
       
    46 
       
    47 //
       
    48 // The test:
       
    49 //
       
    50 class CCustomStep : public CAnimationTestStep
       
    51 	{
       
    52 public:
       
    53 	CCustomStep();
       
    54 	~CCustomStep();
       
    55 	// From CTestStep:
       
    56 	virtual TVerdict doActiveTestStepL();
       
    57 protected:
       
    58 	void InitialiseL();
       
    59 	void StartStopL();
       
    60 protected:
       
    61 	TSize iWinSize;
       
    62 	TPoint iWinPosition;
       
    63 	TRect iWinRect;
       
    64 	CCustomStepAnimationWindow* iWin;
       
    65 	};
       
    66 
       
    67 #endif // __TCUSTOMSTEP_H__