mmserv/sts/stsproxy/src/stsimplementation.cpp
changeset 47 c2e43643db4c
parent 42 1fa3fb47b1e3
equal deleted inserted replaced
42:1fa3fb47b1e3 47:c2e43643db4c
    71     {
    71     {
    72     //TODO: Add logging and error checking
    72     //TODO: Add logging and error checking
    73     iSession->SendPlayAlarm(aAlarm, aAlarmContext, aObserver);
    73     iSession->SendPlayAlarm(aAlarm, aAlarmContext, aObserver);
    74     }
    74     }
    75 
    75 
       
    76 void CStsImplementation::PlayAlarm(CSystemToneService::TToneType aTone,
       
    77         unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver)
       
    78     {
       
    79     iSession->SendPlayToneAlarm(aTone, aAlarmContext, aObserver);
       
    80     }
       
    81 
    76 void CStsImplementation::StopAlarm(unsigned int aAlarmContext)
    82 void CStsImplementation::StopAlarm(unsigned int aAlarmContext)
    77     {
    83     {
    78     //TODO: Add logging and error checking
    84     //TODO: Add logging and error checking
    79     iSession->SendStopAlarm(aAlarmContext);
    85     iSession->SendStopAlarm(aAlarmContext);
    80     }
    86     }
    81     
       
    82 void CStsImplementation::PlayAlarm(CSystemToneService::TToneType aTone,
       
    83 	      unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver) 
       
    84 	   {  
       
    85 	   	iSession->SendPlayToneForStop(aTone, aAlarmContext, aObserver);  
       
    86 		 }