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
Constructor & Destructor Documentation
CEvtToneAction()
CEvtToneAction | ( | ) | [private] |
~CEvtToneAction()
~CEvtToneAction | ( | ) | [virtual] |
Member Functions Documentation
ConstructL()
void | ConstructL | ( | ) | [private] |
Second phase of the two phase constructor.
ExternalizeL(CEvtAction &)
Parameters
CEvtAction & aAction | CEvtAction onto which the contents of would be externalized. |
ExternalizeL(RWriteStream &)
Externalizes the contents into a buffer.
Parameters
RWriteStream & aWriteStream | Buffer onto which the contents of would be externalized. |
FileName()
IMPORT_C TPtrC | FileName | ( | ) | 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.
InternalizeL(CEvtAction &)
Parameters
CEvtAction & aAction | CEvtAction from which the contents would be populated. |
InternalizeL(RReadStream &)
Internalized the contents of the buffer.
Parameters
RReadStream & aReadStream | Buffer from which the contents would be populated. |
NewL()
Constructs a new instance of Event Tone.
-
leave
- System wide error code if the object creation fails.
NewLC()
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 void | SetFileNameL | ( | 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.
SetToneLoop(const TBool)
IMPORT_C void | SetToneLoop | ( | const TBool | aRepeat | ) | |
Set the ToneLoop flag for playing tone for Location Event.
ToneLoop()
IMPORT_C TBool | ToneLoop | ( | ) | const |
Gets the ToneLoop flag for the Location Event. The ToneLoop is defined by the Location EventsUi on Creation.
TotalSize()
TInt
| TotalSize | ( | ) | [private] |
Returns the total size for the Internalize/Externalize buffer.
Member Data Documentation
HBufC * iFileName
HBufC * | iFileName | [private] |
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.