diff -r 80975da52420 -r 43d09473c595 mmserv/sts/stsimplementation/src/stsimplementation.cpp --- a/mmserv/sts/stsimplementation/src/stsimplementation.cpp Mon May 03 12:59:52 2010 +0300 +++ b/mmserv/sts/stsimplementation/src/stsimplementation.cpp Fri May 14 16:22:35 2010 +0300 @@ -63,19 +63,18 @@ void CStsImplementation::PlayTone(CSystemToneService::TToneType aTone) { - unsigned int playToneContext; - PlayTone(aTone, playToneContext); + iSession->SendPlayTone(aTone); } -void CStsImplementation::PlayTone(CSystemToneService::TToneType aTone, - unsigned int& aPlayToneContext) +void CStsImplementation::PlayAlarm(CSystemToneService::TAlarmType aAlarm, + unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver) { //TODO: Add logging and error checking - iSession->SendPlayTone(aTone, aPlayToneContext); + iSession->SendPlayAlarm(aAlarm, aAlarmContext, aObserver); } -void CStsImplementation::StopTone(unsigned int aPlayToneContext) +void CStsImplementation::StopAlarm(unsigned int aAlarmContext) { //TODO: Add logging and error checking - iSession->SendStopTone(aPlayToneContext); + iSession->SendStopAlarm(aAlarmContext); }