Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <AnimationMixins.h>
Link against: animationshared.lib

Class MAnimationObserver

class MAnimationObserver;

Description

Interface used by an animation to report events to the client application.

An animation can inform the client application of particular events through this mechanism. Only errors are reported in this way in v9.1, but more events may be added in future.

Use of this interface by the client application is optional.

Members

Defined in MAnimationObserver:

See also:


Member functions


AnimationEvent(CAnimation &,TInt,TAny *)

virtual void AnimationEvent(CAnimation &aSender, TInt aEvent, TAny *aData)=0;

Description

Receives events from an animation.

The receiver is not required to take any action atall in response to this call. The receiver should not delete the animation whilst responding to this call.

Parameters

CAnimation &aSender

A reference to the animation which sent the event.

TInt aEvent

The event code.

TAny *aData

An event specific data item.


MAnimationObserver_Reserved1()

protected: IMPORT_C virtual void MAnimationObserver_Reserved1();

Description

Reserved for future use


MAnimationObserver_Reserved2()

protected: IMPORT_C virtual void MAnimationObserver_Reserved2();

Description

Reserved for future use

[Top]


Member enumerations


Enum TEvent

TEvent

Description

Represents generic events which can be sent to the observer.

EDataProviderError

Indicates that an error has occurred in the data provider. For events of this type, aData is a pointer to a TInt error code.

EAnimationInitialized

Indicates that the animator initialised (and therefore knows it's size)

EReserved

Any user defined animations introducing new events should use values greater than EReserved