widgetmanager/inc/wmlistbox.inl
changeset 0 f72a12da539e
equal deleted inserted replaced
-1:000000000000 0:f72a12da539e
       
     1 /*
       
     2 * Copyright (c) 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 * Inline function definitions for CWmListBox
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef WMLISTBOX_INL_
       
    20 #define WMLISTBOX_INL_
       
    21 
       
    22 /** 
       
    23  * Findbox visibility
       
    24  * 
       
    25  * @param aVisibility sets find pane visibility
       
    26  */
       
    27  inline void CWmListBox::SetFindPaneIsVisible( TBool aVisibility )
       
    28         { iFindPaneIsVisible = aVisibility; }
       
    29  
       
    30  /** 
       
    31   * number of items in the widget data array (also items on the list) 
       
    32   * 
       
    33   * @return count of widget data array
       
    34   */
       
    35  inline TInt CWmListBox::WidgetDataCount()
       
    36      { return iWidgetDatas.Count(); }
       
    37  
       
    38  /**
       
    39   * gets the constant widget data array
       
    40   */
       
    41  inline const RWidgetDataValues& CWmListBox::WidgetDataArray()
       
    42      { return iWidgetDatas; }
       
    43 
       
    44 /** 
       
    45   * State of pointer down event 
       
    46   * 
       
    47   * @return ETrue if pointer is down
       
    48   */
       
    49  inline TBool CWmListBox::PressedDown()
       
    50      { return iPressedDown; }
       
    51  
       
    52 	 
       
    53 #endif /* WMLISTBOX_INL_ */