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.
19 @internalComponent - Internal Symbian test code
22 #ifndef __SPRITEANIMDLL_H__
23 #define __SPRITEANIMDLL_H__
26 #if !defined(__W32ADLL_H__)
30 _LIT(KAnimDLLName,"SPRITEANIMDLL.DLL");
32 enum AnimDllOpcodesSprite
46 class RTAnim : public RAnim
50 RTAnim(RAnimDll& aDll);
51 inline TInt Construct(const RWsSprite &aSprite,TInt aType,const TDesC8 &aParams) {return(RAnim::Construct(aSprite,aType,aParams));}
52 inline void Command(TInt aOpcode) {RAnim::Command(aOpcode);}
55 class CTAnimDll : public CAnimDll
58 CAnim *CreateInstanceL(TInt aType);
62 class CTSpriteAnim : public CSpriteAnim
65 virtual void ConstructL(TAny *aArgs);
67 //Pure virtual functions from CAnim
68 virtual void Animate(TDateTime *aDateTime);
69 virtual void Command(TInt aOpcode, TAny *aArgs);
70 virtual TInt CommandReplyL(TInt aOpcode, TAny *aArgs);
72 //Pure virtual function from MEventHandler
73 virtual TBool OfferRawEvent(const TRawEvent &aRawEvent);
75 void DrawL(TInt aOpcode);