CSAnimEngine Class Reference

class CSAnimEngine : public CBase

Start-up Animation Engine interface class.

None
Since
S60 3.2

Inherits from

Constructor & Destructor Documentation

CSAnimEngine()

CSAnimEngine()[protected]

Constructor.

Since
S60 3.2

CSAnimEngine(const CSAnimEngine &)

CSAnimEngine(const CSAnimEngine &)[private]

Copy constructor.

Parameters

const CSAnimEngine &

~CSAnimEngine()

~CSAnimEngine()[virtual]

Destructor.

Since
S60 3.2

Member Functions Documentation

BackroundColour()

TRgb BackroundColour()const [pure virtual]

Get the backgroud colour of the image. Should only be called after successfully loading the image.

Since
S60 3.2

Cancel()

voidCancel()[pure virtual]

Cancel activity.

Since
S60 3.2

Load(TRequestStatus &)

voidLoad(TRequestStatus &aStatus)[pure virtual]

Load the parts of the show (image/animation and/or tone) from file(s). Completes immediately with KErrNone if the show has no parts.

Since
S60 3.2

Parameters

TRequestStatus & aStatusRequest to complete when loading is complete.

NewL(RFs &, MSAnimObserver &)

IMPORT_C CSAnimEngine *NewL(RFs &aFs,
MSAnimObserver &aObserver
)[static]

Constructs a CSAnimEngine object.

Since
S60 3.2

Parameters

RFs & aFsFileserver reference.
MSAnimObserver & aObserverObserver for animation events..

SetImageProperties(const TDesC &, const TDisplayMode, const TSize &, const TTimeIntervalMicroSeconds32 &, const TBool, const TInt)

TInt SetImageProperties(const TDesC &aImageFileName,
const TDisplayModeaDisplayMode,
const TSize &aSize,
const TTimeIntervalMicroSeconds32 &aFrameDelay,
const TBoolaScalingEnabled,
const TIntaRepeatCount
)[pure virtual]

Set the file name identifying the image / animation to show and other properties that affect how the image / animation is shown.

Since
S60 3.2

Parameters

const TDesC & aImageFileNameIdentifies the image file to use.
const TDisplayMode aDisplayModeDisplay mode to use, if supported by the image.
const TSize & aSizeRequested size for the image.
const TTimeIntervalMicroSeconds32 & aFrameDelayFrame delay to use.
const TBool aScalingEnabledIdentifies whether to try to scale the image to fit the screen size or just use the target size of the animation as it is.
const TInt aRepeatCountHow many times to repeat the animation. Zero indicates infinite. For future use - not currently used.

SetToneProperties(const TDesC &, const TInt, const TTimeIntervalMicroSeconds &, const TInt)

TInt SetToneProperties(const TDesC &aToneFileName,
const TIntaVolume,
const TTimeIntervalMicroSeconds &aVolumeRamp,
const TIntaRepeatCount
)[pure virtual]

Set the file name identifying the tone to play and other properties that affect how the tone is played.

Since
S60 3.2

Parameters

const TDesC & aToneFileNameIdentifies the tone file to use.
const TInt aVolumeVolume level to use.
const TTimeIntervalMicroSeconds & aVolumeRampVolume ramp: the period over which the volume level is to rise smoothly from nothing to the normal volume level.
const TInt aRepeatCountHow many times to repeat the tone. Zero indicates infinite. For future use - not currently used.

Start(TRequestStatus &)

voidStart(TRequestStatus &aStatus)[pure virtual]

Start the show (image/animation and/or tone). Completes immediately with KErrNone if the show has no parts.

Since
S60 3.2

Parameters

TRequestStatus & aStatusRequest to complete when all parts of the show have finished.

operator=(const CSAnimEngine &)

CSAnimEngine &operator=(const CSAnimEngine &)[private]

Assignment operator.

Parameters

const CSAnimEngine &