Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: 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:
AnimationEvent(), EAnimationInitialized, EDataProviderError, EReserved, MAnimationObserver_Reserved1(), MAnimationObserver_Reserved2(), TEvent

See also:


Member functions


AnimationEvent()

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: virtual IMPORT_C void MAnimationObserver_Reserved1();

Description

Reserved for future use


MAnimationObserver_Reserved2()

protected: virtual IMPORT_C 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