diff -r 80975da52420 -r 43d09473c595 mmserv/sts/stsimplementation/src/rstssession.h --- a/mmserv/sts/stsimplementation/src/rstssession.h Mon May 03 12:59:52 2010 +0300 +++ b/mmserv/sts/stsimplementation/src/rstssession.h Fri May 14 16:22:35 2010 +0300 @@ -19,9 +19,11 @@ #ifndef RSTSSESSION_H_ #define RSTSSESSION_H_ -#include +#include #include +#include "stsclientservercommon.h" + class RStsSession : public RSessionBase { public: @@ -30,15 +32,24 @@ void Close(); - TInt SendPlayTone(CSystemToneService::TToneType aToneType, - unsigned int& aPlayToneContext); + TInt SendPlayTone(CSystemToneService::TToneType aTone); - TInt SendStopTone(unsigned int aPlayToneContext); + TInt SendPlayAlarm(CSystemToneService::TAlarmType aAlarm, + unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); + + TInt SendStopAlarm(unsigned int aAlarmContext); private: + static TInt CallBackThreadMain(TAny* aSession); + void RunThreadL(); + + TInt StartMsgQueue(); TInt StartServer(); + TInt StartThread(); + RThread iThread; + RMsgQueue iMsgQueue; }; #endif // RSTSSESSION_H_