commsfwutils/commsbufs/inc/commsbufpond.inl
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     1 // Copyright (c) 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 #ifndef __COMMSBUFPOND_INL__
       
    17 #define __COMMSBUFPOND_INL__
       
    18 
       
    19 #ifndef __KERNEL_MODE__
       
    20 
       
    21 inline	RCommsBufPond::RCommsBufPond(MCommsBufPondIntf* aPondImpl)
       
    22 : iPondImpl(aPondImpl)
       
    23 {
       
    24 }
       
    25 
       
    26 inline TBool RCommsBufPond::IsNull() const
       
    27 /**
       
    28 Check whether the pond is opened and is valid
       
    29 */
       
    30 	{
       
    31 	return (iPondImpl == NULL);
       
    32 	}
       
    33 
       
    34 inline TCommsBufAllocator::TCommsBufAllocator(RCommsBufPond aPond)
       
    35 :iPond(*aPond.iPondImpl)
       
    36 /**
       
    37 The constructor. 
       
    38 */
       
    39 	{
       
    40 		
       
    41 	}
       
    42 #endif // __KERNEL_MODE__
       
    43 #endif