// Copyright (c) 2003-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:
// $Workfile: AddHeadersState.h $
// 
//

#ifndef __ADDHEADERSSTATE_H__
#define __ADDHEADERSSTATE_H__

#include <obexheaders.h>

#include "harness.h"        //MBaseTestState


// forward declarations
class CObexClientTest;


//
// CAddHeadersState
//
class CAddHeadersState : public CBase, public MBaseTestState
	{
public:
	CAddHeadersState(const CObexHeader::THeaderType aHeaderType, const TUint8 aHeaderHI, const TDesC& aHeaderHV, CObexClientTest& aClientTest);
	void StartL(TRequestStatus& aStatus);

private:
	~CAddHeadersState();

private:
	CObexClientTest& iClientTest;
	CObexHeader::THeaderType iHeaderType;
	TUint8 iHeaderHI;
	HBufC* iHeaderHV;
	};

#endif
