equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: |
14 * Description: |
15 * This file defines the interface to the client side session of the |
15 * This file defines the interface to the client side session of the |
16 * STS Server. |
16 * STS Server. |
17 */ |
17 */ |
18 |
|
19 #ifndef RSTSSESSION_H_ |
18 #ifndef RSTSSESSION_H_ |
20 #define RSTSSESSION_H_ |
19 #define RSTSSESSION_H_ |
21 |
20 |
22 #include <e32msgqueue.h> |
21 #include <e32msgqueue.h> |
23 #include <map> |
22 #include <map> |
36 void SendPlayTone(CSystemToneService::TToneType aTone); |
35 void SendPlayTone(CSystemToneService::TToneType aTone); |
37 |
36 |
38 void SendPlayAlarm(CSystemToneService::TAlarmType aAlarm, |
37 void SendPlayAlarm(CSystemToneService::TAlarmType aAlarm, |
39 unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
38 unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
40 |
39 |
|
40 void SendPlayToneAlarm(CSystemToneService::TToneType aTone, |
|
41 unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
|
42 |
41 void SendStopAlarm(unsigned int aAlarmContext); |
43 void SendStopAlarm(unsigned int aAlarmContext); |
42 |
|
43 void SendPlayToneForStop(CSystemToneService::TToneType aTone, |
|
44 unsigned int& aAlarmContext, MStsPlayAlarmObserver& aObserver); |
|
45 |
44 |
46 private: |
45 private: |
47 |
46 |
48 static TInt CallBackThreadMain(TAny* aSession); |
47 static TInt CallBackThreadMain(TAny* aSession); |
49 void RunThreadL(); |
48 void RunThreadL(); |