/*
* Copyright (c) 2007-2008 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_IMAGE_DECODER_SERVER_H__)
#define __T_IMAGE_DECODER_SERVER_H__

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

class CT_ImageDecoderServer : public CTestServer2
	{
private:
	class CT_ImageDecoderBlock : public CTestBlockController
		{
	public:
		inline CT_ImageDecoderBlock();
		inline ~CT_ImageDecoderBlock();

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

public:
	inline ~CT_ImageDecoderServer();

	inline void	DeleteActiveSchedulerL();

	static CT_ImageDecoderServer* NewL();

	inline CTestBlockController*	CreateTestBlock();

protected:
	inline CT_ImageDecoderServer();
	};

#include "T_ImageDecoderServer.inl"

#endif /* __T_IMAGE_DECODER_SERVER_H__ */
