telephonyserverplugins/common_tsy/commontsy/src/mmpacket/cmmmbmscontexttsy.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".
   129     // Trap the call of DoExtFuncL
   129     // Trap the call of DoExtFuncL
   130     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ) );
   130     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ) );
   131 
   131 
   132     if ( KErrNone != trapError )
   132     if ( KErrNone != trapError )
   133         {
   133         {
       
   134 		// Reset request handle to indicate the request is no longer ongoing
       
   135         iTsyReqHandleStore->FindAndResetTsyReqHandle(aTsyReqHandle);
   134         ReqCompleted( aTsyReqHandle, trapError );
   136         ReqCompleted( aTsyReqHandle, trapError );
   135         }
   137         }
   136 
       
   137     else if ( KErrNone != ret )
   138     else if ( KErrNone != ret )
   138         {
   139         {
   139         ReqCompleted( aTsyReqHandle, ret );
   140         ReqCompleted( aTsyReqHandle, ret );
   140         }
   141         }
   141 
   142     else if ( EMultimodePacketMbmsReqHandleUnknown != iReqHandleType )
   142     if ( EMultimodePacketMbmsReqHandleUnknown != iReqHandleType )
       
   143         {
   143         {
   144 #ifdef REQHANDLE_TIMER
   144 #ifdef REQHANDLE_TIMER
   145         SetTypeOfResponse( iReqHandleType, aTsyReqHandle );
   145         SetTypeOfResponse( iReqHandleType, aTsyReqHandle );
   146 #else
   146 #else
   147         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   147         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   148 #endif // REQHANDLE_TIMER
   148 #endif // REQHANDLE_TIMER
   149         }
   149         }
   150 
   150     iReqHandleType = EMultimodePacketMbmsReqHandleUnknown;
   151     return KErrNone;
   151     return KErrNone;
   152     }
   152     }
   153 
   153 
   154 // ---------------------------------------------------------------------------
   154 // ---------------------------------------------------------------------------
   155 // CMmMBMSContextTsy::DoExtFuncL
   155 // CMmMBMSContextTsy::DoExtFuncL