bluetoothapitest/bluetoothsvs/T_BTSockAddrAPI/inc/T_BTSockAddrAPIServer.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     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_BT_SOCK_ADDR_API_SERVER_H__)
       
    20 #define __T_BT_SOCK_ADDR_API_SERVER_H__
       
    21 
       
    22 //	EPOC Includes
       
    23 #include <test/testblockcontroller.h>
       
    24 #include <test/testserver2.h>
       
    25 
       
    26 //	user Includes
       
    27 #include "T_RfcommSockAddrData.h"
       
    28 #include "T_BTServiceSecurityData.h"
       
    29 #include "T_BTSockAddrData.h"
       
    30 #include "T_SockAddrData.h"
       
    31 
       
    32 
       
    33 class CTestBlock : public CTestBlockController
       
    34 	{
       
    35 public:
       
    36 	inline CTestBlock();
       
    37 	inline ~CTestBlock();
       
    38 
       
    39 	inline CDataWrapper* CreateDataL( const TDesC& aData );
       
    40 	};
       
    41 
       
    42 class CT_BTSockAddrAPIServer : public CTestServer2
       
    43 	{
       
    44 public:
       
    45 	inline CT_BTSockAddrAPIServer();
       
    46 	inline ~CT_BTSockAddrAPIServer();
       
    47 
       
    48 	static CT_BTSockAddrAPIServer* NewL();
       
    49 
       
    50 	inline CTestBlockController*	CreateTestBlock();
       
    51 	};
       
    52 
       
    53 #include "T_BTSockAddrAPIServer.inl"
       
    54 
       
    55 #endif /* __T_BT_SOCK_ADDR_API_SERVER_H__ */