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". |
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); |
|
136 ReqCompleted( aTsyReqHandle, trapError ); |
134 ReqCompleted( aTsyReqHandle, trapError ); |
137 } |
135 } |
|
136 |
138 else if ( KErrNone != ret ) |
137 else if ( KErrNone != ret ) |
139 { |
138 { |
140 ReqCompleted( aTsyReqHandle, ret ); |
139 ReqCompleted( aTsyReqHandle, ret ); |
141 } |
140 } |
142 else if ( EMultimodePacketMbmsReqHandleUnknown != iReqHandleType ) |
141 |
|
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 iReqHandleType = EMultimodePacketMbmsReqHandleUnknown; |
150 |
151 return KErrNone; |
151 return KErrNone; |
152 } |
152 } |
153 |
153 |
154 // --------------------------------------------------------------------------- |
154 // --------------------------------------------------------------------------- |
155 // CMmMBMSContextTsy::DoExtFuncL |
155 // CMmMBMSContextTsy::DoExtFuncL |