bluetooth/btstack/avctp/avctpOutboundQ.h
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 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef AVCTPOUTBOUNDQ_H
       
    22 #define AVCTPOUTBOUNDQ_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 // Forward Declaration
       
    27 class HAvctpOutgoingSdu;
       
    28 
       
    29 NONSHARABLE_CLASS(TAvctpOutboundQ)
       
    30 	{
       
    31 public:
       
    32 	inline TAvctpOutboundQ();
       
    33 	inline HAvctpOutgoingSdu* First();
       
    34 	inline TDblQueIter<HAvctpOutgoingSdu> Iter();
       
    35 	inline TUint Count() const;
       
    36 	inline void Deque(HAvctpOutgoingSdu& aSdu);
       
    37 	void Insert(HAvctpOutgoingSdu& aSdu);
       
    38 	
       
    39 private:
       
    40 	TDblQue<HAvctpOutgoingSdu> iQue;
       
    41 	TUint iCount;	
       
    42 	
       
    43 	};
       
    44 
       
    45 #include "avctpOutboundQ.inl"
       
    46 
       
    47 #endif // AVCTPOUTBOUNDQ_H 
       
    48