bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfiguser003.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef CTESTSTEPBTROMCONFIGUSER003_H
       
    17 #define CTESTSTEPBTROMCONFIGUSER003_H
       
    18 
       
    19 #include "cteststepbtromconfigbase.h"
       
    20 #include <es_sock.h>
       
    21 #include <bt_sock.h>
       
    22 
       
    23 class CTestStepBtRomConfigUser003 : public CTestStepBtRomConfigBase, public MBluetoothSynchronousLinkNotifier 
       
    24 	{
       
    25 public:
       
    26 	static CTestStepBtRomConfigUser003* New(CTestServer& aParent);
       
    27 	~CTestStepBtRomConfigUser003();
       
    28 	TVerdict doTestStepL();
       
    29 	
       
    30 private:
       
    31 	CTestStepBtRomConfigUser003(CTestServer& aParent);
       
    32 	void TestSynchronousLinkConstructorL(TInt aTestSubCase);
       
    33 
       
    34 // from MBluetoothSynchronousLinkNotifier
       
    35 	void HandleSetupConnectionCompleteL(TInt aErr);
       
    36 	void HandleDisconnectionCompleteL(TInt aErr);
       
    37 	void HandleAcceptConnectionCompleteL(TInt aErr);
       
    38 	void HandleSendCompleteL(TInt aErr);
       
    39 	void HandleReceiveCompleteL(TInt aErr);
       
    40 		
       
    41 	RSocketServ iSocketServ;
       
    42 	};
       
    43 
       
    44 _LIT(KTestNameUser003, "BT_ROMCONFIG_USER_003"); 
       
    45 #endif //  CTESTSTEPBTROMCONFIGUSER003_H
       
    46 
       
    47 // EOF