bluetoothengine/btsac/src/btsacStateConnecting.cpp
branchRCL_3
changeset 21 0ba996a9b75d
parent 1 6a1fe72036e3
equal deleted inserted replaced
20:eede1356aa52 21:0ba996a9b75d
     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".
    79 //
    79 //
    80 void CBtsacConnecting::CancelActionL(TInt aError)
    80 void CBtsacConnecting::CancelActionL(TInt aError)
    81     {
    81     {
    82 	TRACE_FUNC
    82 	TRACE_FUNC
    83 	Parent().CompletePendingRequests((KConnectReq | KOpenAudioReq), aError);
    83 	Parent().CompletePendingRequests((KConnectReq | KOpenAudioReq), aError);
    84     Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EGavdpResetReasonGeneral, aError));
    84     Parent().ChangeStateL(CBtsacListening::NewL(Parent(), EResetGavdp, aError));
    85     }
    85     }
    86 
    86 
    87 // -----------------------------------------------------------------------------
    87 // -----------------------------------------------------------------------------
    88 // CBtsacConnecting::CancelOpenAudioL()
    88 // CBtsacConnecting::CancelOpenAudioL()
    89 // -----------------------------------------------------------------------------
    89 // -----------------------------------------------------------------------------