diff -r 000000000000 -r bde4ae8d615e os/graphics/windowing/windowserver/test/t_integ/src/t_pseudoappanim.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/graphics/windowing/windowserver/test/t_integ/src/t_pseudoappanim.cpp Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,49 @@ +// Copyright (c) 2007-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: +// + +/** + @file + @test + @internalComponent +*/ + +#include //RDebug + +#include "t_pseudoappanim.h" +#include "t_pseudoappeng.h" + +EXPORT_C CTestAnimation::CTestAnimation() : iRotationSupported(EFalse) + { + } + +EXPORT_C void CTestAnimation::DrawL(CTestSurfaceRasterizer* /* aSurfaceRasterizer */, SurfaceDetails& /* aSurfDetails */) + { + } + +//If rotation is supported by a derived class, this function will need to be overridden +EXPORT_C void CTestAnimation::SetFrameNumber(TInt /* aFrameNumber */) + { + RDebug::Print(_L("Rotation is not supported for this animation type")); + User::Panic(KTPseudoAppPanicTxt, KErrNotSupported); + } + +EXPORT_C TBool CTestAnimation::RotationSupported() + { + return iRotationSupported; + } + +CTestAnimation::~CTestAnimation() + { + }