diff -r f72a12da539e -r 5315654608de idlehomescreen/widgetmanager/inc/wmlistbox.inl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/idlehomescreen/widgetmanager/inc/wmlistbox.inl Thu Jan 07 12:39:41 2010 +0200 @@ -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; } + + /** + * number of items in the widget data array (also items on the list) + * + * @return count of widget data array + */ + inline TInt CWmListBox::WidgetDataCount() + { return iWidgetDatas.Count(); } + + /** + * gets the constant widget data array + */ + inline const RWidgetDataValues& CWmListBox::WidgetDataArray() + { return iWidgetDatas; } + +/** + * State of pointer down event + * + * @return ETrue if pointer is down + */ + inline TBool CWmListBox::PressedDown() + { return iPressedDown; } + + +#endif /* WMLISTBOX_INL_ */