CEvtToneAction Class Reference

class CEvtToneAction : public CBase

Class that captures information for the Tone action Type. This class allows for Internalizing and Externalizing the Tone action. This class is used to store the information of Tone action.

evtstorage.lib
Since
S60 v9.1

Inherits from

Constructor & Destructor Documentation

CEvtToneAction()

CEvtToneAction()[private]

Default C++ Constructor.

~CEvtToneAction()

~CEvtToneAction()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

Second phase of the two phase constructor.

ExternalizeL(CEvtAction &)

IMPORT_C voidExternalizeL(CEvtAction &aAction)

Externalizes the contents into a CEvtAction.

Since
S60 v5.0

Parameters

CEvtAction & aActionCEvtAction onto which the contents of would be externalized.

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aWriteStream)[private]

Externalizes the contents into a buffer.

Since
S60 v5.0

Parameters

RWriteStream & aWriteStreamBuffer onto which the contents of would be externalized.

FileName()

IMPORT_C TPtrCFileName()const

Gets the Tone for the Location Events. The Tone is defined by the Location EventsUi on Creation. A reference to the object's internal string is returned.

Since
S60 v9.1

InternalizeL(CEvtAction &)

IMPORT_C voidInternalizeL(CEvtAction &aAction)

Internalized the contents of the CEvtAction.

Since
S60 v5.0

Parameters

CEvtAction & aActionCEvtAction from which the contents would be populated.

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aReadStream)[private]

Internalized the contents of the buffer.

Since
S60 v5.0

Parameters

RReadStream & aReadStreamBuffer from which the contents would be populated.

NewL()

IMPORT_C CEvtToneAction *NewL()[static]

Constructs a new instance of Event Tone.

leave
System wide error code if the object creation fails.

NewLC()

IMPORT_C CEvtToneAction *NewLC()[static]

Constructs a new instance of Event Tone. Leaves the created instance on the cleanup stack.

leave
System wide error code if the object creation fails.

SetFileNameL(const TDesC &)

IMPORT_C voidSetFileNameL(const TDesC &aFileName)

Set the Tone String for the Location Event. The Tone is copied.

Since
S60 v9.1
leave
KErrNoMemory If there is not enough memory to copy the string.

Parameters

const TDesC & aFileName

SetToneLoop(const TBool)

IMPORT_C voidSetToneLoop(const TBoolaRepeat)

Set the ToneLoop flag for playing tone for Location Event.

Since
S60 v9.1

Parameters

const TBool aRepeat

ToneLoop()

IMPORT_C TBoolToneLoop()const

Gets the ToneLoop flag for the Location Event. The ToneLoop is defined by the Location EventsUi on Creation.

Since
S60 v9.1

TotalSize()

TInt TotalSize()[private]

Returns the total size for the Internalize/Externalize buffer.

Since
S60 v5.0

Member Data Documentation

HBufC * iFileName

HBufC *iFileName[private]

Tone String for Event.

TBool iToneLoop

TBool iToneLoop[private]

Loop for tone.