If alternate line service isn't supported by the network, this isn't used for anything.
Returns:
Returns line 2 ringing tone file name.
virtual TInt MProEngTones::SetEmailAlertToneL
(
const TDesC &
aEmailAlertTone
)
[pure virtual]
Set Email alert tone file name.
Parameters:
aEmailAlertTone
Email alert tone. If the alert tone should be be left empty, this should be KNullDesC.
Returns:
KErrNone if succesful, KErrAccessDenied if e-mail alert tone setting of this profile is read-only.
virtual TInt MProEngTones::SetMessageAlertToneL
(
const TDesC &
aMessageAlertTone
)
[pure virtual]
Set message alert tone.
Parameters:
aMessageAlertTone
File name of the message alert tone. If the alert tone should be left empty, this should be KNullDesC.
Returns:
KErrNone if succesful, KErrAccessDenied if message alert tone setting of this profile is read-only.
virtual TInt MProEngTones::SetRingingTone1L
(
const TDesC &
aRingingTone
)
[pure virtual]
Set line 1 ringing tone.
Parameters:
aRingingTone
File name of the ringing tone. If the ringing tone should be left empty, this should be KNullDesC.
Returns:
KErrNone if succesful, KErrAccessDenied if line 1 ringing tone setting of this profile is read-only.
virtual TInt MProEngTones::SetRingingTone2L
(
const TDesC &
aRingingTone
)
[pure virtual]
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.
Parameters:
aRingingTone
File name of the ringing tone. If the line 2 ringing tone should be left empty, this should be KNullDesC.
Returns:
KErrNone if succesful, KErrAccessDenied if line 2 ringing tone setting of this profile is read-only.