Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <ICLAnimationDataProvider.h>
Link against: animation.lib

Class CICLAnimationDataProvider

class CICLAnimationDataProvider : public CAnimationDataProvider, public MICLAnimationDataLoaderObserver;

Description

Data provider for frame based animations.

This data provider expects to be provided with a file which can be interpreted as an animation using the Image Conversion Library (ICL). An example would be an animated GIF. The default data type for this provider is "bitmap".

Derivation

Members

Defined in CICLAnimationDataProvider:

Inherited from CAnimationDataProvider:

Inherited from CBase:

Related Topics


Construction and destruction


CICLAnimationDataProvider()

IMPORT_C CICLAnimationDataProvider();

Description

Default constructor.


~CICLAnimationDataProvider()

IMPORT_C ~CICLAnimationDataProvider();

Description

Destructor.

It is normal for an animation to take ownership of a data provider, and hence responsibility for destroying it.

[Top]


Member functions


SetFileL(RFs &,const TFileName &)

IMPORT_C void SetFileL(RFs &aFs, const TFileName &aFileName);

Description

Specifies the file to load the animation from.

This must be called before constructing an animation with this data provider. It may be called again for other files at any point during the lifespan of the animation, in which case current animation will be stopped.

Parameters

RFs &aFs

A session with the file server

const TBuf &aFileName

The path to the image file to be loaded


DataType()

IMPORT_C virtual TPtrC8 DataType();

Description

Called from the animation to obtain the type of data to expect.

Return value

TPtrC8

An 8 bit identifier string


StartL()

virtual void StartL();

Description

Implmenets CAnimationDataProvider::StartL()

You do not need to call this function unless you are writing a new animation type.


CICLAnimationDataProvider_Reserved1()

protected: IMPORT_C virtual void CICLAnimationDataProvider_Reserved1();

Description

Reserved for future use


CICLAnimationDataProvider_Reserved2()

protected: IMPORT_C virtual void CICLAnimationDataProvider_Reserved2();

Description

Reserved for future use


CAnimationDataProvider_Reserved1()

protected: IMPORT_C virtual void CAnimationDataProvider_Reserved1();

Description

Reserved for future use


CAnimationDataProvider_Reserved2()

protected: IMPORT_C virtual void CAnimationDataProvider_Reserved2();

Description

Reserved for future use


DataLoaderEventL(TDataLoaderEvent,TInt)

private: virtual void DataLoaderEventL(TDataLoaderEvent aEvent, TInt aError);

Description

Parameters

MICLAnimationDataLoaderObserver::TDataLoaderEvent aEvent

TInt aError