bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfiguser002.h
changeset 0 29b1cd4cb562
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfiguser002.h	Fri Jan 15 08:13:17 2010 +0200
@@ -0,0 +1,54 @@
+// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef CTESTSTEPBTROMCONFIGUSER002_H
+#define CTESTSTEPBTROMCONFIGUSER002_H
+
+#include <test/testexecutestepbase.h>
+#include <test/testexecuteserverbase.h>
+#include "cteststepbtromconfigbase.h"
+#include <es_sock.h>
+#include <bt_sock.h>
+
+class CTestStepBtRomConfigUser002 : public CTestStepBtRomConfigBase, 
+									public MBluetoothSocketNotifier
+	{
+public:
+	static CTestStepBtRomConfigUser002* New(CTestServer& aParent);
+	~CTestStepBtRomConfigUser002();
+	TVerdict doTestStepL();
+	
+private:
+	CTestStepBtRomConfigUser002(CTestServer& aParent);
+	void TestBluetoothSocketConstructorL(TInt aTestSubCase, 
+										 TInt& aExpectedError);
+
+	// from MBluetoothPhysicalLinksNotifier
+	void HandleConnectCompleteL(TInt aErr);
+	void HandleAcceptCompleteL(TInt aErr);
+	void HandleShutdownCompleteL(TInt aErr);
+	void HandleSendCompleteL(TInt aErr);
+	void HandleReceiveCompleteL(TInt aErr);
+	void HandleIoctlCompleteL(TInt aErr);
+	void HandleActivateBasebandEventNotifierCompleteL(TInt, 
+													  TBTBasebandEventNotification&);
+	
+	RSocketServ iSocketServ;
+	};
+
+_LIT(KTestNameUser002, "BT_ROMCONFIG_USER_002"); 
+#endif //  CTESTSTEPBTROMCONFIGUSER002_H
+
+// EOF