phoneclientserver/phoneserver/Inc/Ussd/CPhSrvUssdManager.h
branchRCL_3
changeset 18 594d59766373
parent 0 ff3b6d0fd310
child 19 7d48bed6ce0c
equal deleted inserted replaced
17:c58fd5f0c240 18:594d59766373
    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;
    41 
    43 
    42 // CLASS DECLARATION
    44 // CLASS DECLARATION
    43 
    45 
    44 /**
    46 /**
    45 *  Handles all the Ussd sessions.
    47 *  Handles all the Ussd sessions.
   212          */
   214          */
   213         void UssdHandleReceivedEventL(
   215         void UssdHandleReceivedEventL(
   214             const TDes8& aMsgData, 
   216             const TDes8& aMsgData, 
   215             const RMobileUssdMessaging::TMobileUssdAttributesV1& 
   217             const RMobileUssdMessaging::TMobileUssdAttributesV1& 
   216                   aMsgAttributes);
   218                   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);
   217         // Restart the reply timer
   231         // Restart the reply timer
   218         void RestartReplyTimerL();
   232         void RestartReplyTimerL();
   219         
   233         
   220         /** Is the reply timer up and running? */
   234         /** Is the reply timer up and running? */
   221         TBool NetworkWaitingForAnAnswer();
   235         TBool NetworkWaitingForAnAnswer();
   222         
   236         
   223         // Set timer and activate it if there are notifications available
   237         // Set timer and activate it if there are notifications available
   224         void SetActiveIfPendingNotificationsExist();
   238         void SetActiveIfPendingNotificationsExist();
   225         
   239         
       
   240         // RM-RIM 417-66528
       
   241         // Create and Initialize the global message query
       
   242         void CreateGlobalMessageQueryL( 
       
   243                 const RMobileUssdMessaging::TMobileUssdAttributesV1& 
       
   244                       aMsgAttributes);
   226         // Launch the global message query (used from RunL)
   245         // Launch the global message query (used from RunL)
   227         void LaunchGlobalMessageQueryL();
   246         void LaunchGlobalMessageQueryL();
   228         
   247         
   229         // Send an MO ACK message if any such are pending
   248         // Send an MO ACK message if any such are pending
   230         void ProcessMoAcksL();
   249         void ProcessMoAcksL();
   416         // Number of MO ACK messages pending to be sent. Normally max 2.
   435         // Number of MO ACK messages pending to be sent. Normally max 2.
   417         TInt iAcksToBeSent;
   436         TInt iAcksToBeSent;
   418         
   437         
   419         // An asynchronous callback for sending MO ACK messages
   438         // An asynchronous callback for sending MO ACK messages
   420         CAsyncCallBack* iMoAckCallback;
   439         CAsyncCallBack* iMoAckCallback;
       
   440         
       
   441         // RM-RIM 417-66528
       
   442         // Pointer to the UssdExtension
       
   443         CUssdExtensionInterface* iUssdExtnInterface;
   421     };
   444     };
   422     
   445     
   423 #endif // CPHSRVUSSDMANAGER_H
   446 #endif // CPHSRVUSSDMANAGER_H
   424 
   447 
   425 
   448