CFLDController Class Reference

class CFLDController : public CBase

CFLDController observes the list box and invokes a MFLDFileProcessor if the timer expires.

filelist.lib
Since
2.1

Inherits from

Constructor & Destructor Documentation

CFLDController(TBool, TTimeIntervalMicroSeconds32)

CFLDController(TBoolaShowErrorMsgs,
TTimeIntervalMicroSeconds32aDelay
)[private]

Constructor

Parameters

TBool aShowErrorMsgsShow an error note if the file format is not supported
TTimeIntervalMicroSeconds32 aDelayThe delay in microseconds until the timer expires

~CFLDController()

IMPORT_C~CFLDController()[virtual]

Destructor

Member Functions Documentation

CompleteConstructionL(RWindow &)

IMPORT_C voidCompleteConstructionL(RWindow &aWindow)

Completes the construction of CFLDController.

Parameters

RWindow & aWindowA reference to window handle

ConstructL()

voidConstructL()[private]

Second phase constructor

HandleFileListBoxEventL(TFileListBoxEvent, const TDesC &)

IMPORT_C voidHandleFileListBoxEventL(TFileListBoxEventaEvent,
const TDesC &aFileName
)

Receives the event notification from the file list box

Parameters

TFileListBoxEvent aEvent
const TDesC & aFileName

HandleSoftKeyState(TFileListSoftKeyState &)

voidHandleSoftKeyState(TFileListSoftKeyState &aSoftKeyState)

Passes softkey notifications to the file list box

Parameters

TFileListSoftKeyState & aSoftKeyState

HandleTimerTickL(TAny *)

TInt HandleTimerTickL(TAny *aPtr)[private, static]

This callback method is called when the timer expires. Calls MFLDFileProcessor::ProcessFileL().

Parameters

TAny * aPtrpointer to CFLDController

NewL(TBool, TTimeIntervalMicroSeconds32)

IMPORT_C CFLDController *NewL(TBoolaShowErrorMsgs,
TTimeIntervalMicroSeconds32aDelay
)[static]

Two-phased static constructor.

Parameters

TBool aShowErrorMsgsShow an error note if the file format is not supported
TTimeIntervalMicroSeconds32 aDelayThe delay in microseconds until the timer expires

NewLC(TBool, TTimeIntervalMicroSeconds32)

IMPORT_C CFLDController *NewLC(TBoolaShowErrorMsgs,
TTimeIntervalMicroSeconds32aDelay
)[static]

Two-phased static constructor, leaves a pointer to cleanup stack

Parameters

TBool aShowErrorMsgsShow an error note if the file format is not supported
TTimeIntervalMicroSeconds32 aDelayThe delay in microseconds until the timer expires

Release()

voidRelease()

Release allocated resources

Set3dEffects(TBool)

IMPORT_C voidSet3dEffects(TBoola3dEffects)

Sets 3d-effects on or off. If this method is called using parameter EFalse 3d-effects are always disabled even though those are set in active profile. Otherwise toneplayer uses the setting in active profile.

Parameters

TBool a3dEffectsTrue: 3dEffects are on. False: 3dEffects are off.

SetDelay(TTimeIntervalMicroSeconds32)

IMPORT_C voidSetDelay(TTimeIntervalMicroSeconds32aDelay)

Set the delay until the timer expires.

Parameters

TTimeIntervalMicroSeconds32 aDelayThe delay in microseconds

SetFileObserver(MFLDFileObserver *)

IMPORT_C voidSetFileObserver(MFLDFileObserver *aFileObserver)
Sets the file observer for the class. The file observer is asked if the file is ok to be processed.
Since
2.5

Parameters

MFLDFileObserver * aFileObserverPointer to the file observer.

SetRingingType(TInt)

IMPORT_C voidSetRingingType(TIntaRingingType)

Sets the ringing type If this method is not called, audio and video players uses the setting in active profile.

Parameters

TInt aRingingTypeThe ringing type (see enum TRingingTypes)

SetVibra(TBool)

IMPORT_C voidSetVibra(TBoolaVibra)

Sets vibrating alert on or off. If this method is not called, audio and video players uses the setting in active profile.

Parameters

TBool aVibraTrue: Vibra is on. False: Vibra is off.

SetVolume(TInt)

IMPORT_C voidSetVolume(TIntaVolume)

Set the volume level on which the sound is played If this method is not called, audio and video players uses the setting in active profile.

Parameters

TInt aVolumeThe volume level

Member Enumerations Documentation

Enum TRingingTypes

Enumerators

ERingingTypeRinging = 0
ERingingTypeAscending
ERingingTypeRingOnce
ERingingTypeBeepOnce
ERingingTypeSilent

Member Data Documentation

TBool i3dEffects

TBool i3dEffects[private]

MFLDFileProcessor * iAudioProcessor

MFLDFileProcessor *iAudioProcessor[private]

TFileName iCurrentFile

TFileName iCurrentFile[private]

TTimeIntervalMicroSeconds32 iDelay

TTimeIntervalMicroSeconds32 iDelay[private]

MFLDFileObserver * iFileObserver

MFLDFileObserver *iFileObserver[private]

RConeResourceLoader iResourceLoader

RConeResourceLoaderiResourceLoader[private]

TInt iRingingType

TInt iRingingType[private]

TInt iRingingVolume

TInt iRingingVolume[private]

TBool iShowErrorMsgs

TBool iShowErrorMsgs[private]

CPeriodic * iTimer

CPeriodic *iTimer[private]

TBool iVibra

TBool iVibra[private]

RWindow * iWindow

RWindow *iWindow[private]