devicesrvapitest/accessorieshaitest/accessories/inc/t_accessoriesserver.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:29:05 +0300
branchRCL_3
changeset 21 ccb4f6b3db21
parent 0 4e1aa6a622a0
child 22 8cb079868133
permissions -rw-r--r--
Revision: 201033 Kit: 201035

/*
* 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:
*
*/


#ifndef T_ACCESSORIES_SERVER_H
#define T_ACCESSORIES_SERVER_H

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

/**
 * This wrapper class extends the test server and creates test server for Accessories
 */
class CT_AccessoriesServer : public CTestServer2
	{
private:
	class CT_AccessoriesBlock : public CTestBlockController
		{
	public:
		inline CT_AccessoriesBlock();
		inline ~CT_AccessoriesBlock();

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

public:
	inline ~CT_AccessoriesServer();

	static CT_AccessoriesServer* NewL();

	inline CTestBlockController* CreateTestBlock();
	
	void DoCmdutilStartApp();

protected:
	inline CT_AccessoriesServer();
	};

#include "t_accessoriesserver.inl"

#endif // T_ACCESSORIES_SERVER_H