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


#if (!defined __T_MMCSD_DRIVER_SERVER_H__)
#define __T_MMCSD_DRIVER_SERVER_H__

//	EPOC Includes
#include <testblockcontroller.h>
#include <testserver2.h>

// This wrapper class extends the test server and creates test server for MMCSD driver
class CT_MmcSDDriverServer : public CTestServer2
	{
private:
	class CT_MmcSDDriverBlock : public CTestBlockController
		{
	public:
		inline CT_MmcSDDriverBlock();
		inline ~CT_MmcSDDriverBlock();

		CDataWrapper*	CreateDataL( const TDesC& aData );
		};

public:
	inline ~CT_MmcSDDriverServer();

	inline void	DeleteActiveSchedulerL();

	static CT_MmcSDDriverServer* NewL();

	inline CTestBlockController*	CreateTestBlock();

protected:
	inline CT_MmcSDDriverServer();
	};

#include "T_MmcSDDriverServer.inl"

#endif /* __T_MMCSD_DRIVER_SERVER_H__ */
