clfwrapper/ClientSrc/CCLFDbItemContainer.inl
changeset 0 c53acadfccc6
equal deleted inserted replaced
-1:000000000000 0:c53acadfccc6
       
     1 /*
       
     2 * Copyright (c) 2002-2009 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 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // ============================ MEMBER FUNCTIONS ===============================
       
    21 
       
    22 // -----------------------------------------------------------------------------
       
    23 // CCLFDbItemContainer::AppendL
       
    24 // -----------------------------------------------------------------------------
       
    25 //
       
    26 inline void CCLFDbItemContainer::AddL( CCLFContainerItem* aItem )
       
    27     {
       
    28     // there could be debricated items 
       
    29     iItemArray.InsertInOrderAllowRepeatsL( aItem, iArraySorter );
       
    30     }
       
    31 
       
    32 // -----------------------------------------------------------------------------
       
    33 // CCLFContainerItem::IncreaseReferenceCount
       
    34 // -----------------------------------------------------------------------------
       
    35 //
       
    36 inline void CCLFContainerItem::IncreaseReferenceCount()
       
    37     {
       
    38     ++iReferenceCount;
       
    39     }
       
    40 
       
    41 // -----------------------------------------------------------------------------
       
    42 // CCLFContainerItem::DbItem
       
    43 // -----------------------------------------------------------------------------
       
    44 //
       
    45 inline const CMdEObject& CCLFContainerItem::DbItem() const
       
    46     {
       
    47     return *iMdEObject;
       
    48     }
       
    49 
       
    50 // -----------------------------------------------------------------------------
       
    51 // CCLFContainerItem::SetItemId
       
    52 // -----------------------------------------------------------------------------
       
    53 //
       
    54 inline void CCLFContainerItem::SetItemId( TCLFItemId aItemId )
       
    55     {
       
    56     iItemId = aItemId;
       
    57     }
       
    58     
       
    59 //  End of File