bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfigpan001.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 CTESTSTEPBTROMCONFIGPAN001_H
       
    17 #define CTESTSTEPBTROMCONFIGPAN001_H
       
    18 
       
    19 #include "cteststepbtromconfigbase.h"
       
    20 #include <es_sock.h>
       
    21 
       
    22 class CPan001TestTimeout : public CTimer
       
    23 	{
       
    24 public:	
       
    25 	static CPan001TestTimeout* NewL();
       
    26 	~CPan001TestTimeout();
       
    27 
       
    28 private:	
       
    29 	CPan001TestTimeout();
       
    30 	void RunL();
       
    31 	void DoCancel();
       
    32 	};
       
    33 	
       
    34 class CActiveConnStart : public CActive
       
    35 	{
       
    36 public:
       
    37 	static CActiveConnStart* NewL();
       
    38 	~CActiveConnStart();
       
    39 
       
    40 	void RunL();
       
    41 	void DoCancel();
       
    42 
       
    43 	void DoRConnectionStart();
       
    44 		
       
    45 private:
       
    46 	CActiveConnStart();
       
    47 	void ConstructL();
       
    48 	
       
    49 	RSocketServ iSocketServ;
       
    50 	RConnection iConnection;
       
    51 	};
       
    52 
       
    53 class CTestStepBtRomConfigPan001 : public CTestStepBtRomConfigBase
       
    54 	{
       
    55 public:
       
    56 	static CTestStepBtRomConfigPan001* New(CTestServer& aParent);
       
    57 	~CTestStepBtRomConfigPan001();
       
    58 	TVerdict doTestStepL();
       
    59 
       
    60 private:
       
    61 	CTestStepBtRomConfigPan001(CTestServer& aParent);
       
    62 	
       
    63 	CActiveConnStart* iConnStart;
       
    64 	CPan001TestTimeout* iTestTimeout;
       
    65 	};
       
    66 
       
    67 _LIT(KTestNamePan001, "BT_ROMCONFIG_PAN_001"); 
       
    68 #endif //  CTESTSTEPBTROMCONFIGPAN001_H
       
    69 
       
    70 // EOF