diff -r 6385c4c93049 -r 8e6fa1719340 browserui/browser/FavouritesInc/BrowserFavouritesListboxItemDrawer.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/browserui/browser/FavouritesInc/BrowserFavouritesListboxItemDrawer.h Wed Sep 01 12:31:04 2010 +0100 @@ -0,0 +1,64 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of the License "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: +* Declaration of class CWmlBrowserFavouritesListboxItemDrawer. +* +* +*/ + + +#ifndef BROWSER_FAVOURITES_LISTBOX_ITEM_DRAWER_H +#define BROWSER_FAVOURITES_LISTBOX_ITEM_DRAWER_H + +// INCLUDES + +#include + +// CLASS DECLARATION + +/** +* Custom item drawer, to support the "no-folders-marked" feature. +*/ +class CBrowserFavouritesListboxItemDrawer: public CColumnListBoxItemDrawer + { + public: // construction + + /** + * Constructor. + * @param aTextListBoxModel Listbox model. + * @param aFont Font. + * @param aColumnData Listbox column data. + */ + CBrowserFavouritesListboxItemDrawer + ( + MTextListBoxModel* aTextListBoxModel, + const CFont* aFont, + CColumnListBoxData* aColumnData + ); + + public: // from CColumnListBoxItemDrawer + + /** + * Get item properties for a listbox item. Same as base class behaviour, + * but marking is masked out for folders. + * @param aItemIndex Index of listbox item to get properties of. + * @return Properties of listbox item. + */ + TListItemProperties Properties( TInt aItemIndex ) const; + + }; + +#endif + +// End of File