mmserv/sts/sts/src/stssettingsmanager.cpp
changeset 52 4ce423f34688
parent 47 c2e43643db4c
equal deleted inserted replaced
47:c2e43643db4c 52:4ce423f34688
    23 #include <MProEngProfile.h>
    23 #include <MProEngProfile.h>
    24 #include <MProEngTones.h>
    24 #include <MProEngTones.h>
    25 #include <MProEngToneSettings.h>
    25 #include <MProEngToneSettings.h>
    26 #include <ProEngFactory.h>
    26 #include <ProEngFactory.h>
    27 #include "stsplayersettings.h"
    27 #include "stsplayersettings.h"
       
    28 #include <NokiaAudioPreference.h>
    28 _LIT(KDefaultFile,"z:\\data\\sounds\\digital\\clock.aac");
    29 _LIT(KDefaultFile,"z:\\data\\sounds\\digital\\clock.aac");
    29 
    30 
    30 // Data types
    31 // Data types
    31 /** The type of system tones that are supported by this API. */
    32 /** The type of system tones that are supported by this API. */
    32 enum TSettingsType
    33 enum TSettingsType
   214             {
   215             {
   215             aPriority = KAudioPriorityRecvMsg;
   216             aPriority = KAudioPriorityRecvMsg;
   216             aPreference = KAudioPrefNewSMS;
   217             aPreference = KAudioPrefNewSMS;
   217             break;
   218             break;
   218             }
   219             }
       
   220         case CSystemToneService::EErrorBeep:
       
   221             {
       
   222             aPriority = KAudioPriorityHighLevel;
       
   223             aPreference = KAudioPrefError;
       
   224             break;
       
   225             }
   219         case CSystemToneService::EWarningBeep:
   226         case CSystemToneService::EWarningBeep:
   220             {
   227             {
   221             aPriority = KAudioPriorityWarningTone;
   228             aPriority = KAudioPriorityWarningTone;
   222             aPreference = KAudioPrefWarning;
   229             aPreference = KAudioPrefWarning;
   223             break;
   230             break;