devicesrvapitest/accessorieshaitest/accessories/inc/t_accessoriesserver.h
changeset 0 4e1aa6a622a0
child 21 ccb4f6b3db21
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     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 #ifndef T_ACCESSORIES_SERVER_H
       
    20 #define T_ACCESSORIES_SERVER_H
       
    21 
       
    22 //EPOC Includes
       
    23 #include <testserver2.h>
       
    24 
       
    25 /**
       
    26  * This wrapper class extends the test server and creates test server for Accessories
       
    27  */
       
    28 class CT_AccessoriesServer : public CTestServer2
       
    29 	{
       
    30 private:
       
    31 	class CT_AccessoriesBlock : public CTestBlockController
       
    32 		{
       
    33 	public:
       
    34 		inline CT_AccessoriesBlock();
       
    35 		inline ~CT_AccessoriesBlock();
       
    36 
       
    37 		CDataWrapper* CreateDataL( const TDesC& aData );
       
    38 		};
       
    39 
       
    40 public:
       
    41 	inline ~CT_AccessoriesServer();
       
    42 
       
    43 	static CT_AccessoriesServer* NewL();
       
    44 
       
    45 	inline CTestBlockController* CreateTestBlock();
       
    46 	
       
    47 	void DoCmdutilStartApp();
       
    48 
       
    49 protected:
       
    50 	inline CT_AccessoriesServer();
       
    51 	};
       
    52 
       
    53 #include "t_accessoriesserver.inl"
       
    54 
       
    55 #endif // T_ACCESSORIES_SERVER_H