equal
deleted
inserted
replaced
1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 2004-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". |
299 |
299 |
300 |
300 |
301 NONSHARABLE_CLASS(CGavdpConnector) : public CGavdpHelper |
301 NONSHARABLE_CLASS(CGavdpConnector) : public CGavdpHelper |
302 { |
302 { |
303 public: |
303 public: |
304 static CGavdpConnector* NewL(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr, TBool aPassive = EFalse); |
304 static CGavdpConnector* NewL(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr); |
305 |
305 |
306 virtual void Begin(); |
306 virtual void Begin(); |
307 ~CGavdpConnector(); |
307 ~CGavdpConnector(); |
308 private: |
308 private: |
309 CGavdpConnector(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr, TBool aPassive); |
309 CGavdpConnector(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr); |
310 void RunL(); |
310 void RunL(); |
311 void DoCancel(); |
311 void DoCancel(); |
312 private: |
312 private: |
313 TAvdtpSockAddr iSocketAddress; |
313 TAvdtpSockAddr iSocketAddress; |
314 TBool iIsPassiveConnector; //true when listening |
|
315 }; |
314 }; |
316 |
315 |
317 class CGavdpUPlaneConnector; |
316 class CGavdpUPlaneConnector; |
318 |
317 |
319 NONSHARABLE_CLASS(CSocketConnector) : public CActive |
318 NONSHARABLE_CLASS(CSocketConnector) : public CActive |