bluetoothapitest/bluetoothsvs/T_BTSockAddrAPI/inc/T_TRfcommSockAddrChild.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 
       
    20 #if (!defined __T_TRFCOMMSOCKADDR_CHILD_H__)
       
    21 #define __T_TRFCOMMSOCKADDR_CHILD_H__
       
    22 
       
    23 
       
    24 #include <es_sock.h> // TSockAddr address 
       
    25 #include <bt_sock.h> // Bluetooth address classes
       
    26 
       
    27 
       
    28 class T_TRfcommSockAddrChild : public TRfcommSockAddr
       
    29 	{
       
    30 public:
       
    31 	T_TRfcommSockAddrChild();
       
    32 	T_TRfcommSockAddrChild(const TSockAddr &aSockAddr);
       
    33 	static T_TRfcommSockAddrChild& Cast(const TSockAddr &aAddr);
       
    34 	void T_SetUserLen(TInt aLen);
       
    35 	TUint8* T_UserPtr();
       
    36 	TAny * T_EndBTSockAddrPtr();	
       
    37 	};
       
    38 	
       
    39 	
       
    40 #endif /* __T_TRFCOMMSOCKADDR_CHILD_H__ */