CSAnimEngine Class Reference
class CSAnimEngine : public CBase
|
Start-up Animation Engine interface class.
Constructor & Destructor Documentation
CSAnimEngine()
CSAnimEngine
|
(
|
)
|
[protected]
|
CSAnimEngine(const CSAnimEngine &)
~CSAnimEngine()
~CSAnimEngine
|
(
|
)
|
[virtual]
|
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.
Cancel()
void
|
Cancel
|
(
|
)
|
[pure virtual]
|
Load(TRequestStatus &)
Load the parts of the show (image/animation and/or tone) from file(s). Completes immediately with KErrNone if the show has no parts.
Parameters
TRequestStatus
& aStatus
|
Request to complete when loading is complete.
|
NewL(RFs &, MSAnimObserver &)
Parameters
RFs
& aFs
|
Fileserver reference.
|
MSAnimObserver
& aObserver
|
Observer for animation events..
|
SetImageProperties(const TDesC &, const TDisplayMode, const TSize &, const TTimeIntervalMicroSeconds32 &, const TBool, const TInt)
Set the file name identifying the image / animation to show and other properties that affect how the image / animation is shown.
Parameters
const
TDesC
& aImageFileName
|
Identifies the image file to use.
|
const
TDisplayMode
aDisplayMode
|
Display mode to use, if supported by the image.
|
const
TSize
& aSize
|
Requested size for the image.
|
const
TTimeIntervalMicroSeconds32
& aFrameDelay
|
Frame delay to use.
|
const
TBool
aScalingEnabled
|
Identifies 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
aRepeatCount
|
How many times to repeat the animation. Zero indicates infinite. For future use - not currently used.
|
SetToneProperties(const TDesC &, const TInt, const TTimeIntervalMicroSeconds &, const TInt)
Set the file name identifying the tone to play and other properties that affect how the tone is played.
Parameters
const
TDesC
& aToneFileName
|
Identifies the tone file to use.
|
const
TInt
aVolume
|
Volume level to use.
|
const
TTimeIntervalMicroSeconds
& aVolumeRamp
|
Volume ramp: the period over which the volume level is to rise smoothly from nothing to the normal volume level.
|
const
TInt
aRepeatCount
|
How many times to repeat the tone. Zero indicates infinite. For future use - not currently used.
|
Start(TRequestStatus &)
Start the show (image/animation and/or tone). Completes immediately with KErrNone if the show has no parts.
Parameters
TRequestStatus
& aStatus
|
Request to complete when all parts of the show have finished.
|
operator=(const CSAnimEngine &)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.