bluetooth/gavdp/inc/gavdpInternal.h
branchRCL_3
changeset 22 786b94c6f0a4
parent 0 29b1cd4cb562
equal deleted inserted replaced
21:14e240312f6f 22:786b94c6f0a4
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2010 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);
   304 	static CGavdpConnector* NewL(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr, TBool aPassive = EFalse);
   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);
   309 	CGavdpConnector(CGavdp& aGavdp, MGavdpUser& aUser, const TBTDevAddr& aAddr, TBool aPassive);
   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
   314 	};
   315 	};
   315 
   316 
   316 class CGavdpUPlaneConnector;
   317 class CGavdpUPlaneConnector;
   317 
   318 
   318 NONSHARABLE_CLASS(CSocketConnector) : public CActive
   319 NONSHARABLE_CLASS(CSocketConnector) : public CActive