MProEngTones Class Reference

#include <mw/MProEngTones.h>

Link against: ProfileEngine.lib

class MProEngTones
Public Member Functions
pure virtual const TDesC &EmailAlertTone()
pure virtual const TDesC &MessageAlertTone()
pure virtual const TDesC &RingingTone1()
pure virtual const TDesC &RingingTone2()
pure virtual TInt SetEmailAlertToneL(const TDesC &)
pure virtual TInt SetMessageAlertToneL(const TDesC &)
pure virtual TInt SetRingingTone1L(const TDesC &)
pure virtual TInt SetRingingTone2L(const TDesC &)
pure virtual TInt SetVideoCallRingingToneL(const TDesC &)
pure virtual const TDesC &VideoCallRingingTone()
Protected Member Functions
virtual ~MProEngTones()

Detailed Description

Profile tones interface. This interface offers methods to get line 1 and 2 ringing tone, message alert tone, e-mail alert tone and video call alert tone.

Since
3.1

Constructor & Destructor Documentation

~MProEngTones ( )

~MProEngTones()[protected, inline, virtual]

Member Function Documentation

EmailAlertTone ( )

const TDesC &EmailAlertTone()const [pure virtual]
Returns Email alert tone file name.
Since
3.1

Returns: Returns Email alert tone file name.

MessageAlertTone ( )

const TDesC &MessageAlertTone()const [pure virtual]
Returns message alert tone file name.
Since
3.1

Returns: Returns message alert tone file name.

RingingTone1 ( )

const TDesC &RingingTone1()const [pure virtual]
Returns line 1 ringing tone file name.
Since
3.1

Returns: Returns line 1 ringing tone file name.

RingingTone2 ( )

const TDesC &RingingTone2()const [pure virtual]
Returns line 2 ringing tone file name. If alternate line service isn't supported by the network, this isn't used for anything.
Since
3.1

Returns: Returns line 2 ringing tone file name.

SetEmailAlertToneL ( const TDesC & )

TInt SetEmailAlertToneL(const TDesC &aEmailAlertTone)[pure virtual]
Set Email alert tone file name.
Since
3.1
ParameterDescription
aEmailAlertToneEmail 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.

SetMessageAlertToneL ( const TDesC & )

TInt SetMessageAlertToneL(const TDesC &aMessageAlertTone)[pure virtual]
Set message alert tone.
Since
3.1
ParameterDescription
aMessageAlertToneFile 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.

SetRingingTone1L ( const TDesC & )

TInt SetRingingTone1L(const TDesC &aRingingTone)[pure virtual]
Set line 1 ringing tone.
Since
3.1
ParameterDescription
aRingingToneFile 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.

SetRingingTone2L ( const TDesC & )

TInt 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.
Since
3.1
ParameterDescription
aRingingToneFile 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.

SetVideoCallRingingToneL ( const TDesC & )

TInt SetVideoCallRingingToneL(const TDesC &aRingingTone)[pure virtual]
Set Video call ringing tone file name.
Since
3.1
ParameterDescription
aRingingToneVideo call ringing tone file name. If the alert tone should be left empty, this should be KNullDesC.

Returns: KErrNone if succesful, KErrAccessDenied if video call ringing tone setting of this profile is read-only.

VideoCallRingingTone ( )

const TDesC &VideoCallRingingTone()const [pure virtual]
Returns Video call ringing tone file name.
Since
3.1

Returns: Returns Video call ringing tone file name.