equal
deleted
inserted
replaced
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". |
280 TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); ); |
280 TRAP( trapError, ret = DoExtFuncL( aTsyReqHandle, aIpc, aPackage ); ); |
281 |
281 |
282 if ( trapError != KErrNone ) |
282 if ( trapError != KErrNone ) |
283 { |
283 { |
284 // Object cannot be created. |
284 // Object cannot be created. |
285 // Reset request handle to indicate the request is no longer ongoing |
|
286 iTsyReqHandleStore->FindAndResetTsyReqHandle( aTsyReqHandle ); |
|
287 ReqCompleted( aTsyReqHandle, trapError ); |
285 ReqCompleted( aTsyReqHandle, trapError ); |
288 } |
286 } |
289 else if ( ret != KErrNone ) |
287 else if ( ret != KErrNone ) |
290 { |
288 { |
291 ReqCompleted( aTsyReqHandle, ret ); |
289 ReqCompleted( aTsyReqHandle, ret ); |
292 } |
290 } |
293 else if ( EMultimodeLineReqHandleUnknown != iReqHandleType ) |
291 |
294 { |
292 //save request handle |
295 //save request handle |
293 if ( EMultimodeLineReqHandleUnknown != iReqHandleType ) |
|
294 { |
296 iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle ); |
295 iTsyReqHandleStore->SetTsyReqHandle( iReqHandleType, aTsyReqHandle ); |
297 } |
296 } |
298 |
297 |
299 return KErrNone; |
298 return KErrNone; |
300 } |
299 } |