equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2006-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". |
38 class CBtsacListening : public CBtsacState, public MBtsacActiveObserver |
38 class CBtsacListening : public CBtsacState, public MBtsacActiveObserver |
39 { |
39 { |
40 |
40 |
41 public: |
41 public: |
42 |
42 |
43 static CBtsacListening* NewL(CBTSAController& aParent, TBTSACGavdpResetReason aGavdpResetReason, TInt aDisconnectReason); |
43 static CBtsacListening* NewL(CBTSAController& aParent, |
|
44 TBTSACResetGavdp aResetGavdp = EDontResetGavdp, |
|
45 TInt aDisconnectReason = KErrNone); |
44 |
46 |
45 virtual ~CBtsacListening(); |
47 virtual ~CBtsacListening(); |
46 |
48 |
47 private: |
49 private: |
48 |
50 |
115 void GoListen(); |
117 void GoListen(); |
116 void DeleyedOpenAudioAndConnectL(); |
118 void DeleyedOpenAudioAndConnectL(); |
117 |
119 |
118 private: |
120 private: |
119 |
121 |
120 CBtsacListening(CBTSAController& aParent, TBTSACGavdpResetReason aGavdpResetReason, TInt aDisconnectReason); |
122 CBtsacListening(CBTSAController& aParent, TBTSACResetGavdp aResetGavdp, TInt aDisconnectReason); |
121 void ConstructL(); |
123 void ConstructL(); |
122 |
124 |
123 private: |
125 private: |
124 TBTSACGavdpResetReason iGavdpResetReason; |
126 TBTSACResetGavdp iResetGavdp; |
125 TInt iDisconnectReason; |
127 TInt iDisconnectReason; |
126 TInt iPendingRequests; |
128 TInt iPendingRequests; |
127 TBTInitProcedure iInitializationProcedure; |
129 TBTInitProcedure iInitializationProcedure; |
128 TBool iUnfinishedGavdpError; |
|
129 |
130 |
130 /** |
131 /** |
131 * AO for self completing. |
132 * AO for self completing. |
132 */ |
133 */ |
133 CBtsacActive* iSelfCompleteActive; |
134 CBtsacActive* iSelfCompleteActive; |