bluetooth/btexample/test/cit/ROMConfig/inc/cteststepbtromconfigSdpAgent001.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 CTESTSTEPBTROMCONFIGSDPAGENT001_H
       
    17 #define CTESTSTEPBTROMCONFIGSDPAGENT001_H
       
    18 
       
    19 #include <test/testexecutestepbase.h>
       
    20 #include <test/testexecuteserverbase.h>
       
    21 #include "cteststepbtromconfigbase.h"
       
    22 #include <btsdp.h>
       
    23 
       
    24 class CTestStepBtRomConfigSdpAgent001 : public CTestStepBtRomConfigBase, 
       
    25 										public MSdpAgentNotifier
       
    26 	{
       
    27 public:
       
    28 	static CTestStepBtRomConfigSdpAgent001* New(CTestServer& aParent);
       
    29 	TVerdict doTestStepL();
       
    30 	
       
    31 private:
       
    32 	CTestStepBtRomConfigSdpAgent001(CTestServer& aParent);
       
    33 	void TestSdpAgentL(const TInt);
       
    34 	
       
    35 	virtual void NextRecordRequestComplete(TInt aError, 
       
    36 										   TSdpServRecordHandle aHandle, 
       
    37 										   TInt aTotalRecordsCount);
       
    38 
       
    39 	virtual void AttributeRequestResult(TSdpServRecordHandle aHandle, 
       
    40 										TSdpAttributeID aAttrID, 
       
    41 										CSdpAttrValue *aAttrValue);
       
    42 	
       
    43 	virtual void AttributeRequestComplete(TSdpServRecordHandle, TInt aError);
       
    44 	};
       
    45 
       
    46 _LIT(KTestNameSdpAgent001, "BT_ROMCONFIG_SDP_AGENT_001"); 
       
    47 #endif //  CTESTSTEPBTROMCONFIGSDPAGENT001_H
       
    48 
       
    49 // EOF