36 class MPhSrvPhoneInterface; |
36 class MPhSrvPhoneInterface; |
37 class MPhSrvUssdMessageSentObserver; |
37 class MPhSrvUssdMessageSentObserver; |
38 class CAknGlobalMsgQuery; |
38 class CAknGlobalMsgQuery; |
39 class CPhSrvUssdSessionCancelWaiter; |
39 class CPhSrvUssdSessionCancelWaiter; |
40 class CPhSrvUssdNotifyNWRelease; |
40 class CPhSrvUssdNotifyNWRelease; |
41 // RM-RIM 417-66528 |
|
42 class CUssdExtensionInterface; |
|
43 |
41 |
44 // CLASS DECLARATION |
42 // CLASS DECLARATION |
45 |
43 |
46 /** |
44 /** |
47 * Handles all the Ussd sessions. |
45 * Handles all the Ussd sessions. |
214 */ |
212 */ |
215 void UssdHandleReceivedEventL( |
213 void UssdHandleReceivedEventL( |
216 const TDes8& aMsgData, |
214 const TDes8& aMsgData, |
217 const RMobileUssdMessaging::TMobileUssdAttributesV1& |
215 const RMobileUssdMessaging::TMobileUssdAttributesV1& |
218 aMsgAttributes); |
216 aMsgAttributes); |
219 |
|
220 // RM-RIM 417-66528 |
|
221 /** Third stage handler for received messages meant for extension |
|
222 */ |
|
223 void PorcessReceivedMessageInExtesnionL(const TDes8& aMsgData, |
|
224 const RMobileUssdMessaging::TMobileUssdAttributesV1& |
|
225 aMsgAttributes); |
|
226 /** Third stage handler for received messages |
|
227 */ |
|
228 void ProcessReceivedMessageL(const TDes8& aMsgData, |
|
229 const RMobileUssdMessaging::TMobileUssdAttributesV1& |
|
230 aMsgAttributes); |
|
231 // Restart the reply timer |
217 // Restart the reply timer |
232 void RestartReplyTimerL(); |
218 void RestartReplyTimerL(); |
233 |
219 |
234 /** Is the reply timer up and running? */ |
220 /** Is the reply timer up and running? */ |
235 TBool NetworkWaitingForAnAnswer(); |
221 TBool NetworkWaitingForAnAnswer(); |
236 |
222 |
237 // Set timer and activate it if there are notifications available |
223 // Set timer and activate it if there are notifications available |
238 void SetActiveIfPendingNotificationsExist(); |
224 void SetActiveIfPendingNotificationsExist(); |
239 |
225 |
240 // RM-RIM 417-66528 |
|
241 // Create and Initialize the global message query |
|
242 void CreateGlobalMessageQueryL( |
|
243 const RMobileUssdMessaging::TMobileUssdAttributesV1& |
|
244 aMsgAttributes); |
|
245 // Launch the global message query (used from RunL) |
226 // Launch the global message query (used from RunL) |
246 void LaunchGlobalMessageQueryL(); |
227 void LaunchGlobalMessageQueryL(); |
247 |
228 |
248 // Send an MO ACK message if any such are pending |
229 // Send an MO ACK message if any such are pending |
249 void ProcessMoAcksL(); |
230 void ProcessMoAcksL(); |
435 // Number of MO ACK messages pending to be sent. Normally max 2. |
416 // Number of MO ACK messages pending to be sent. Normally max 2. |
436 TInt iAcksToBeSent; |
417 TInt iAcksToBeSent; |
437 |
418 |
438 // An asynchronous callback for sending MO ACK messages |
419 // An asynchronous callback for sending MO ACK messages |
439 CAsyncCallBack* iMoAckCallback; |
420 CAsyncCallBack* iMoAckCallback; |
440 |
|
441 // RM-RIM 417-66528 |
|
442 // Pointer to the UssdExtension |
|
443 CUssdExtensionInterface* iUssdExtnInterface; |
|
444 }; |
421 }; |
445 |
422 |
446 #endif // CPHSRVUSSDMANAGER_H |
423 #endif // CPHSRVUSSDMANAGER_H |
447 |
424 |
448 |
425 |