diff -r 5f0182e07bfb -r 5456b4e8b3a8 idlehomescreen/widgetmanager/inc/wmlistbox.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlehomescreen/widgetmanager/inc/wmlistbox.inl Wed Sep 01 12:32:46 2010 +0100 @@ -0,0 +1,53 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).. +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: +* Inline function definitions for CWmListBox +* +*/ + +#ifndef WMLISTBOX_INL_ +#define WMLISTBOX_INL_ + +/** + * Findbox visibility + * + * @param aVisibility sets find pane visibility + */ + inline void CWmListBox::SetFindPaneIsVisible( TBool aVisibility ) + { iFindPaneIsVisible = aVisibility; } + +/** + * Returns true if findpane is in use + */ + inline TBool CWmListBox::IsFindPaneIsVisible() + { return iFindPaneIsVisible; } + + /** + * number of items in the widget data array (also items on the list) + * + * @return count of widget data array + */ + inline TInt CWmListBox::WidgetDataCount() + { return iVisibleWidgetArray.Count(); } + + /** + * gets the constant widget data array + */ + inline const RWidgetDataValues& CWmListBox::WidgetDataArray() + { return iVisibleWidgetArray; } + + inline const ROrderArray& CWmListBox::OrderDataArray() + { return iOrderDataArray; } + +#endif /* WMLISTBOX_INL_ */