bluetooth/btstack/avctp/avctpsap.inl
changeset 0 29b1cd4cb562
equal deleted inserted replaced
-1:000000000000 0:29b1cd4cb562
       
     1 // Copyright (c) 2005-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 //
       
    15 
       
    16 inline SymbianAvctp::TPid CAvctpSap::Pid() const
       
    17 /**
       
    18 Get the PID for this SAP
       
    19 
       
    20   @internalComponent
       
    21   @return The SAP's PID
       
    22 */
       
    23 	{
       
    24 	return iPid;
       
    25 	}
       
    26 
       
    27 inline TInt CAvctpSap::Channel() const
       
    28 /**
       
    29 Get the channel for this SAP
       
    30 
       
    31   @internalComponent
       
    32   @return The SAP's channel
       
    33 */
       
    34 	{
       
    35 	return iChannel;
       
    36 	}
       
    37 
       
    38 inline TBool CAvctpSap::IsInList() const
       
    39 	{
       
    40 	return iIsInList;
       
    41 	}
       
    42 
       
    43 inline void CAvctpSap::StartSendAsyncCallBack()
       
    44 /**
       
    45 Start the asynchronous callback to continue processing later
       
    46 
       
    47   @internalComponent
       
    48 */
       
    49 	{
       
    50 	iSendAsyncCallBack->CallBack();
       
    51 	}
       
    52 
       
    53 inline void CAvctpSap::CancelSendAsyncCallBack()
       
    54 /**
       
    55 Cancel the asynchronous callback
       
    56 
       
    57   @internalComponent
       
    58 */
       
    59 	{
       
    60 	iSendAsyncCallBack->Cancel();
       
    61 	}
       
    62