internetradio2.0/streamsourceinc/irnetworkbuffer.inl
changeset 0 09774dfdd46b
equal deleted inserted replaced
-1:000000000000 0:09774dfdd46b
       
     1 /*
       
     2 * Copyright (c) 2006-2007 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:  Network buffer
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef IR_BUFFERCONTAINER_INL
       
    21 #define IR_BUFFERCONTAINER_INL
       
    22 
       
    23 // -----------------------------------------------------------------------------	
       
    24 //  Des returns the Address of the chunk;
       
    25 //  Owned by CIRNetworkBuffer Class
       
    26 // -----------------------------------------------------------------------------
       
    27 //
       
    28  inline TUint8* CIRNetworkBuffer::Des() const
       
    29 	{
       
    30 	return iDataAddress;	
       
    31 	} 
       
    32 	 
       
    33 // -----------------------------------------------------------------------------	
       
    34 //  Size returns the size of the chunk;
       
    35 //  Owned by CIRNetworkBuffer Class
       
    36 // -----------------------------------------------------------------------------
       
    37 //
       
    38  inline TInt CIRNetworkBuffer::Size() const
       
    39 	{
       
    40 	return iSize;	
       
    41 	}
       
    42 	
       
    43 #endif //IR_BUFFERCONTAINER_INL