API published in: S60 3rd Ed FP 1
Link against: profileengine.lib
Required Capabilities
WriteDeviceData
Exceptions
No capabilities needed for reading profiles.
#include <mproengtones.h>
This interface offers methods to get line 1 and 2 ringing tone, message alert tone, e-mail alert tone and video call alert tone.
Public Member Functions |
|
virtual const TDesC & | RingingTone1 () const =0 |
Returns line 1 ringing tone file name. |
|
virtual const TDesC & | RingingTone2 () const =0 |
Returns line 2 ringing tone file name. |
|
virtual const TDesC & | MessageAlertTone () const =0 |
Returns message alert tone file name. |
|
virtual const TDesC & | EmailAlertTone () const =0 |
Returns Email alert tone file name. |
|
virtual const TDesC & | VideoCallRingingTone () const =0 |
Returns Video call ringing tone file name. |
|
virtual TInt | SetRingingTone1L (const TDesC &aRingingTone)=0 |
Set line 1 ringing tone. |
|
virtual TInt | SetRingingTone2L (const TDesC &aRingingTone)=0 |
Set line 2 ringing tone. |
|
virtual TInt | SetMessageAlertToneL (const TDesC &aMessageAlertTone)=0 |
Set message alert tone. |
|
virtual TInt | SetEmailAlertToneL (const TDesC &aEmailAlertTone)=0 |
Set Email alert tone file name. |
|
virtual TInt | SetVideoCallRingingToneL (const TDesC &aRingingTone)=0 |
Set Video call ringing tone file name. |
|
Protected Member Functions |
|
virtual | ~MProEngTones () |
|
|
Returns Email alert tone file name.
|
|
Returns message alert tone file name.
|
|
Returns line 1 ringing tone file name.
|
|
Returns line 2 ringing tone file name. If alternate line service isn't supported by the network, this isn't used for anything.
|
|
Set Email alert tone file name.
|
|
Set message alert tone.
|
|
Set line 1 ringing tone.
|
|
Set line 2 ringing tone. Note, that this tone can be set even if the network does not support the alternate line service. In this case, the value of line 2 ringing tone is still saved in Profiles data but it isn't used for anything.
|
|
Set Video call ringing tone file name.
|
|
Returns Video call ringing tone file name.
|