browserui/browser/FavouritesInc/BrowserFavouritesListboxItemDrawer.h
author dario
Fri, 24 Apr 2009 11:54:53 +0100
changeset 2 19a8b782d2a5
parent 0 84ad3b177aa3
permissions -rw-r--r--
First drop of package_definition, obtained from the system model used in the platform build, along with a generic SystemBuild fragment (from TB91sf)

/*
* 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 <eikclb.h>

// 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