equal
deleted
inserted
replaced
32 const TInt KStsServerBuild = 0; |
32 const TInt KStsServerBuild = 0; |
33 |
33 |
34 // This type enumerates the client/server messages for the STS server. |
34 // This type enumerates the client/server messages for the STS server. |
35 enum TStsServerCommandType |
35 enum TStsServerCommandType |
36 { |
36 { |
|
37 StsMsg_RegisterMsgQueue, |
37 StsMsg_PlayTone, |
38 StsMsg_PlayTone, |
38 StsMsg_StopTone, |
39 StsMsg_PlayAlarm, |
|
40 StsMsg_StopAlarm, |
39 StsMsg_ENDMARKER |
41 StsMsg_ENDMARKER |
40 }; |
42 }; |
41 |
43 |
42 const TStsServerCommandType KStsCmdLast = |
44 const TStsServerCommandType KStsCmdLast = |
43 (TStsServerCommandType) ((int) StsMsg_ENDMARKER - 1); |
45 (TStsServerCommandType) ((int) StsMsg_ENDMARKER - 1); |
44 |
46 |
|
47 enum TStsCallBackType |
|
48 { |
|
49 EStsShutdown, |
|
50 EStsPlayAlarmComplete |
|
51 }; |
|
52 |
|
53 struct TStsCallBack |
|
54 { |
|
55 TStsCallBackType callBackType; |
|
56 MStsPlayAlarmObserver* observer; |
|
57 unsigned int alarmContext; |
|
58 }; |
|
59 |
45 #endif // STSCLIENTSERVERCOMMON_H_ |
60 #endif // STSCLIENTSERVERCOMMON_H_ |