telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp
changeset 69 b982c3e940f3
parent 44 8b72faa1200f
child 73 70d75957b98f
equal deleted inserted replaced
59:ac20d6a0a19d 69:b982c3e940f3
   571     TInt /*aError*/ )
   571     TInt /*aError*/ )
   572     {
   572     {
   573     }
   573     }
   574 #endif // REQHANDLE_TIMER
   574 #endif // REQHANDLE_TIMER
   575 
   575 
       
   576 // ---------------------------------------------------------------------------
       
   577 // CMmPacketTsy::ResetReqHandle
       
   578 // Resets the request handle in req handle store
       
   579 // (other items were commented in a header).
       
   580 // ---------------------------------------------------------------------------
       
   581 //
       
   582 TBool CMmPacketTsy::ResetReqHandle(const TTsyReqHandle aTsyReqHandle, const TInt aIpc)
       
   583     {
       
   584     //handle has not been reset yet
       
   585     TInt ret = EFalse;
       
   586     if(aIpc == ECustomSetAlwaysOnMode)
       
   587         { 
       
   588 		// request handle is set in packet data session
       
   589         CMmPacketServiceTsy* packetSession = iMmPhone->PacketDataSession();
       
   590         if(packetSession)
       
   591             {
       
   592             ret = packetSession->ResetReqHandle(aTsyReqHandle);
       
   593             }
       
   594         }
       
   595     else
       
   596         { 
       
   597 		// request handle stored locally
       
   598         ret = iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle);
       
   599         }
       
   600     return ret;
       
   601     }
   576 
   602 
   577 //  End of File
   603 //  End of File
   578 
   604