// Copyright (c) 2007-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:
//



/**
 @file te_buffersizing.h
 @internalTechnology
*/
#if (!defined TE_ULOGGERBUFFERSIZINGSTEP_H)
#define TE_ULOGGERBUFFERSIZINGSTEP_H
#include <datawrapper.h>
#include "te_ostv2integsuite_basewrapper.h"
#include <e32base.h>
#include <e32math.h>
#include <uloggerclient.h>
#include "te_ostv2integsuite_defs.h"
using namespace Ulogger; //CA:added so can use old ulogger api

class CTCMBufferSizingWrapper : public CTe_MCLSuiteBaseWrapper
	{
public:
	~CTCMBufferSizingWrapper();
	static CTCMBufferSizingWrapper* NewL();
	static CTCMBufferSizingWrapper* NewLC();
	TAny* GetObject();
	TBool DoCommandL(	const TTEFFunction& aCommand,
						const TTEFSectionName& aSection, 
						const TInt aAsyncErrorIndex);
	void writeToBuffer(const TPtrC iLit, TInt iTraceNumber ,RULogger* iLogger);
private:
	CTCMBufferSizingWrapper();
	void ConstructL();
	};

_LIT(KTCMBufferSizingWrapper,"TCMBufferSizing");

#endif
