lafagnosticuifoundation/animation/tef/TOomStep.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 
       
    22 #ifndef __TOOM_H__
       
    23 #define __TOOM_H__
       
    24 
       
    25 #include "AnimationTestStep.h"
       
    26 
       
    27 #include <f32file.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(KOomStep, "Oom");
       
    36 
       
    37 //
       
    38 // Windows:
       
    39 //
       
    40 class COomAnimationWindow : public CTestWindow
       
    41 	{
       
    42 public:
       
    43 	COomAnimationWindow(RWsSession& aWs, CTestWindowGroup& aGroup, CWindowGc& aGc);
       
    44 	void DrawL();
       
    45 	void SetAnimation(CBasicAnimation* aAnimation);
       
    46 protected:
       
    47 	CBasicAnimation* iAnimation;
       
    48 	};
       
    49 
       
    50 
       
    51 /** The test:
       
    52     This test does not perform any tests on the visual output.  It is useful
       
    53     for other issues, but it is also a good base for manual testing.
       
    54 */
       
    55 class CAnimationTestServer;
       
    56 
       
    57 class COomStep : public CAnimationTestStep
       
    58 	{
       
    59 public:
       
    60 	COomStep();
       
    61 	~COomStep();
       
    62 	
       
    63 	// From CActiveTestStep:
       
    64 	virtual TVerdict doActiveTestStepL();
       
    65 protected:
       
    66 	void InitialiseL();
       
    67 	void TestLoopingL();
       
    68 	void RunTestL(TInt aTest);
       
    69 protected:
       
    70 	TSize iWinSize;
       
    71 	TPoint iWinPosition;
       
    72 	COomAnimationWindow* iOomWin;
       
    73 	};
       
    74 
       
    75 #endif //__TOOM_H__