telephonyserverplugins/common_tsy/commontsy/src/mmcustomtsy/CMmPacketTsy.cpp
branchRCL_3
changeset 74 9200f38b1324
parent 66 07a122eea281
child 82 042fd2753b8f
equal deleted inserted replaced
70:4814c5a49428 74:9200f38b1324
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
   567     TInt /*aError*/ )
   567     TInt /*aError*/ )
   568     {
   568     {
   569     }
   569     }
   570 #endif // REQHANDLE_TIMER
   570 #endif // REQHANDLE_TIMER
   571 
   571 
       
   572 // ---------------------------------------------------------------------------
       
   573 // CMmPacketTsy::ResetReqHandle
       
   574 // Resets the request handle in req handle store
       
   575 // (other items were commented in a header).
       
   576 // ---------------------------------------------------------------------------
       
   577 //
       
   578 TBool CMmPacketTsy::ResetReqHandle(const TTsyReqHandle aTsyReqHandle, const TInt aIpc)
       
   579     {
       
   580     //handle has not been reset yet
       
   581     TInt ret = EFalse;
       
   582     if(aIpc == ECustomSetAlwaysOnMode)
       
   583         { 
       
   584 		// request handle is set in packet data session
       
   585         CMmPacketServiceTsy* packetSession = iMmPhone->PacketDataSession();
       
   586         if(packetSession)
       
   587             {
       
   588             ret = packetSession->ResetReqHandle(aTsyReqHandle);
       
   589             }
       
   590         }
       
   591     else
       
   592         { 
       
   593 		// request handle stored locally
       
   594         ret = iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle);
       
   595         }
       
   596     return ret;
       
   597     }
   572 
   598 
   573 //  End of File
   599 //  End of File
   574 
   600