equal
deleted
inserted
replaced
61 return result; |
61 return result; |
62 } |
62 } |
63 |
63 |
64 void CStsImplementation::PlayTone(CSystemToneService::TToneType aTone) |
64 void CStsImplementation::PlayTone(CSystemToneService::TToneType aTone) |
65 { |
65 { |
66 unsigned int playToneContext; |
66 iSession->SendPlayTone(aTone); |
67 PlayTone(aTone, playToneContext); |
|
68 } |
67 } |
69 |
68 |
70 void CStsImplementation::PlayTone(CSystemToneService::TToneType aTone, |
69 void CStsImplementation::PlayAlarm(CSystemToneService::TAlarmType aAlarm, |
71 unsigned int& aPlayToneContext) |
70 unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver) |
72 { |
71 { |
73 //TODO: Add logging and error checking |
72 //TODO: Add logging and error checking |
74 iSession->SendPlayTone(aTone, aPlayToneContext); |
73 iSession->SendPlayAlarm(aAlarm, aAlarmContext, aObserver); |
75 } |
74 } |
76 |
75 |
77 void CStsImplementation::StopTone(unsigned int aPlayToneContext) |
76 void CStsImplementation::StopAlarm(unsigned int aAlarmContext) |
78 { |
77 { |
79 //TODO: Add logging and error checking |
78 //TODO: Add logging and error checking |
80 iSession->SendStopTone(aPlayToneContext); |
79 iSession->SendStopAlarm(aAlarmContext); |
81 } |
80 } |