usbmgmt/usbmgr/device/classdrivers/ncm/classimplementation/ncmpktdrv/pktdrv/inc/ncmntbbuilder.inl
changeset 28 f1fd07aa74c9
equal deleted inserted replaced
27:2fefb5a2b416 28:f1fd07aa74c9
       
     1 /*
       
     2 * Copyright (c) 2010 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:
       
    15 * NTB build base class inl file
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 /**
       
    21 @file
       
    22 @internalComponent
       
    23 */
       
    24 
       
    25 
       
    26 #ifndef NCMNTBBUILDER_INL
       
    27 #define NCMNTBBUILDER_INL
       
    28 
       
    29 const TInt KMinNtbInMaxSize = 2048;
       
    30 
       
    31 inline TInt CNcmNtbBuilder::NtbInMaxSize()
       
    32     {
       
    33     return iNtbInMaxSize;
       
    34     }
       
    35 
       
    36 inline void CNcmNtbBuilder::SetBuildPolicy(CNcmNtbBuildPolicy& aPolicy)
       
    37     {
       
    38     iBuildPolicy = &aPolicy;
       
    39     }
       
    40 
       
    41 inline TBool CNcmNtbBuilder::IsNtbStarted()
       
    42     {
       
    43     return iNtbStarted;
       
    44     }
       
    45 
       
    46 inline TInt CNcmNtbBuilder::MinNtbInMaxSize()
       
    47     {
       
    48     return KMinNtbInMaxSize;
       
    49     }
       
    50 
       
    51 
       
    52 
       
    53 #endif