haitest/bspsvs/suite/bsp/mmc/inc/T_MmcSDDriverServer.h
changeset 0 cec860690d41
equal deleted inserted replaced
-1:000000000000 0:cec860690d41
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #if (!defined __T_MMCSD_DRIVER_SERVER_H__)
       
    20 #define __T_MMCSD_DRIVER_SERVER_H__
       
    21 
       
    22 //	EPOC Includes
       
    23 #include <testblockcontroller.h>
       
    24 #include <testserver2.h>
       
    25 
       
    26 // This wrapper class extends the test server and creates test server for MMCSD driver
       
    27 class CT_MmcSDDriverServer : public CTestServer2
       
    28 	{
       
    29 private:
       
    30 	class CT_MmcSDDriverBlock : public CTestBlockController
       
    31 		{
       
    32 	public:
       
    33 		inline CT_MmcSDDriverBlock();
       
    34 		inline ~CT_MmcSDDriverBlock();
       
    35 
       
    36 		CDataWrapper*	CreateDataL( const TDesC& aData );
       
    37 		};
       
    38 
       
    39 public:
       
    40 	inline ~CT_MmcSDDriverServer();
       
    41 
       
    42 	inline void	DeleteActiveSchedulerL();
       
    43 
       
    44 	static CT_MmcSDDriverServer* NewL();
       
    45 
       
    46 	inline CTestBlockController*	CreateTestBlock();
       
    47 
       
    48 protected:
       
    49 	inline CT_MmcSDDriverServer();
       
    50 	};
       
    51 
       
    52 #include "T_MmcSDDriverServer.inl"
       
    53 
       
    54 #endif /* __T_MMCSD_DRIVER_SERVER_H__ */