equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002-2005 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
171 // |
171 // |
172 void CBtsacConfigured::CancelActionL(TInt aError) |
172 void CBtsacConfigured::CancelActionL(TInt aError) |
173 { |
173 { |
174 TRACE_FUNC |
174 TRACE_FUNC |
175 Parent().CompletePendingRequests(KOpenAudioReq, aError); |
175 Parent().CompletePendingRequests(KOpenAudioReq, aError); |
176 Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EGavdpResetReasonGeneral, aError)); |
176 Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EResetGavdp, aError)); |
177 } |
177 } |
178 |
178 |
179 // ----------------------------------------------------------------------------- |
179 // ----------------------------------------------------------------------------- |
180 // CBtsacConfigured::CancelConnectL |
180 // CBtsacConfigured::CancelConnectL |
181 // ----------------------------------------------------------------------------- |
181 // ----------------------------------------------------------------------------- |
235 { |
235 { |
236 TRACE_FUNC |
236 TRACE_FUNC |
237 Parent().CompletePendingRequests(KDisconnectReq, KErrNone); |
237 Parent().CompletePendingRequests(KDisconnectReq, KErrNone); |
238 // Cancel all other requests |
238 // Cancel all other requests |
239 Parent().CompletePendingRequests(KCompleteAllReqs, KErrCancel); |
239 Parent().CompletePendingRequests(KCompleteAllReqs, KErrCancel); |
240 Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EGavdpResetReasonGeneral, KErrNone)); |
240 Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EResetGavdp, KErrNone)); |
241 } |
241 } |
242 |
242 |
243 // ----------------------------------------------------------------------------- |
243 // ----------------------------------------------------------------------------- |
244 // CBtsacConfigured::GAVDP_StartStreamsConfirm() |
244 // CBtsacConfigured::GAVDP_StartStreamsConfirm() |
245 // ----------------------------------------------------------------------------- |
245 // ----------------------------------------------------------------------------- |