telephonyserverplugins/common_tsy/commontsy/src/mmstorage/cmmonstoretsy.cpp
branchRCL_3
changeset 82 042fd2753b8f
parent 74 9200f38b1324
equal deleted inserted replaced
74:9200f38b1324 82:042fd2753b8f
     1 // Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-2009 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".
   301 
   301 
   302     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   302     TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); );
   303 
   303 
   304     if ( KErrNone != trapError )
   304     if ( KErrNone != trapError )
   305         {
   305         {
   306 		// Reset request handle to indicate the request is no longer ongoing
       
   307         iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle );
       
   308         ReqCompleted( aTsyReqHandle, trapError );
   306         ReqCompleted( aTsyReqHandle, trapError );
   309         }
   307         }
   310     else if ( KErrNone != ret )
   308     else if ( KErrNone != ret )
   311         {
   309         {
   312         ReqCompleted( aTsyReqHandle, ret );
   310         ReqCompleted( aTsyReqHandle, ret );
   313         }
   311         }
   314     else if ( EMultimodeONStoreReqHandleUnknown != iReqHandleType )
   312 
   315         {
   313     // Save request handle
   316         // Save request handle
   314     if ( EMultimodeONStoreReqHandleUnknown != iReqHandleType )
       
   315         {
   317 #ifdef REQHANDLE_TIMER
   316 #ifdef REQHANDLE_TIMER
   318         SetTypeOfResponse( iReqHandleType, aTsyReqHandle );
   317         SetTypeOfResponse( iReqHandleType, aTsyReqHandle );
   319 #else // REQHANDLE_TIMER
   318 #else // REQHANDLE_TIMER
   320         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   319         iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle );
   321 #endif // REQHANDLE_TIMER
   320 #endif // REQHANDLE_TIMER