Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Location: 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:
CAnimationDataProvider_Reserved1(), CAnimationDataProvider_Reserved2(), CICLAnimationDataProvider(), CICLAnimationDataProvider_Reserved1(), CICLAnimationDataProvider_Reserved2(), DataLoaderEventL(), DataType(), SetFileL(), StartL(), ~CICLAnimationDataProvider()

Inherited from CAnimationDataProvider:
SendEventL(), SetObserver(), iCAnimationDataProvider_Reserved, iObserver

Inherited from CBase:
Delete(), Extension_(), operator new()

See also


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()

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 TFileName &aFileName

The path to the image file to be loaded


DataType()

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

Description

Reserved for future use


CICLAnimationDataProvider_Reserved2()

protected: virtual IMPORT_C void CICLAnimationDataProvider_Reserved2();

Description

Reserved for future use


CAnimationDataProvider_Reserved1()

protected: virtual IMPORT_C void CAnimationDataProvider_Reserved1();

Description

Reserved for future use


CAnimationDataProvider_Reserved2()

protected: virtual IMPORT_C void CAnimationDataProvider_Reserved2();

Description

Reserved for future use


DataLoaderEventL()

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

Description

Parameters

TDataLoaderEvent aEvent

TInt aError