sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @test sl@0: @internalComponent sl@0: */ sl@0: sl@0: #include //RDebug sl@0: sl@0: #include "t_pseudoappanim.h" sl@0: #include "t_pseudoappeng.h" sl@0: sl@0: EXPORT_C CTestAnimation::CTestAnimation() : iRotationSupported(EFalse) sl@0: { sl@0: } sl@0: sl@0: EXPORT_C void CTestAnimation::DrawL(CTestSurfaceRasterizer* /* aSurfaceRasterizer */, SurfaceDetails& /* aSurfDetails */) sl@0: { sl@0: } sl@0: sl@0: //If rotation is supported by a derived class, this function will need to be overridden sl@0: EXPORT_C void CTestAnimation::SetFrameNumber(TInt /* aFrameNumber */) sl@0: { sl@0: RDebug::Print(_L("Rotation is not supported for this animation type")); sl@0: User::Panic(KTPseudoAppPanicTxt, KErrNotSupported); sl@0: } sl@0: sl@0: EXPORT_C TBool CTestAnimation::RotationSupported() sl@0: { sl@0: return iRotationSupported; sl@0: } sl@0: sl@0: CTestAnimation::~CTestAnimation() sl@0: { sl@0: }