bluetooth/btstack/l2cap/l2capEntityConfig.h
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Implements the l2cap L2Cap Entity Config object owned by the L2CAP linkSignalhandler
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __L2CAPENTITYCONFIG_H__
       
    19 #define __L2CAPENTITYCONFIG_H__
       
    20 
       
    21 #include "L2types.h"
       
    22 
       
    23 class CL2CapLinkSignalHandler;
       
    24 
       
    25 NONSHARABLE_CLASS(TL2CAPEntityConfig)
       
    26 	{
       
    27 public:
       
    28 	TL2CAPEntityConfig(CL2CapLinkSignalHandler& aLinkSH);
       
    29 
       
    30 	TInt PeerL2CapSupportedFeatures(TL2CapEntityInfo& aPeerL2CapEntityInfo);
       
    31 	void UpdatePeerL2CapSupportedFeatures(const TL2CapEntityInfo& aPeerL2CapEntityInfo);
       
    32 
       
    33 	TBool PeerInfoDefined() const;
       
    34 	TBool GetPeerL2CapEntityInfo(TL2CapEntityInfo& aPeerL2CapEntityInfo) const;
       
    35 private:
       
    36 	TL2CapEntityInfo iPeerL2CapEntityInfo;
       
    37 	CL2CapLinkSignalHandler& iLinkSH;
       
    38 	};
       
    39 
       
    40 #endif  //__L2CAPENTITYCONFIG_H__
       
    41 
       
    42 
       
    43 
       
    44 
       
    45