First public contribution.
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,"te_spriteanimdll.dll");
32 enum TAnimDllOpcodesSprite
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
66 void ConstructL(TAny *aArgs);
69 void Animate(TDateTime *aDateTime);
70 void Command(TInt aOpcode, TAny *aArgs);
71 TInt CommandReplyL(TInt aOpcode, TAny *aArgs);
74 TBool OfferRawEvent(const TRawEvent &aRawEvent);
77 void DrawL(TInt aOpcode);