browserui/browser/FavouritesInc/BrowserFavouritesListboxItemDrawer.h
branchRCL_3
changeset 48 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
47:6385c4c93049 48:8e6fa1719340
       
     1 /*
       
     2 * Copyright (c) 2002 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 the License "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 *       Declaration of class CWmlBrowserFavouritesListboxItemDrawer.
       
    16 *       
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef BROWSER_FAVOURITES_LISTBOX_ITEM_DRAWER_H
       
    22 #define BROWSER_FAVOURITES_LISTBOX_ITEM_DRAWER_H
       
    23 
       
    24 //  INCLUDES
       
    25 
       
    26 #include <eikclb.h>
       
    27 
       
    28 // CLASS DECLARATION
       
    29 
       
    30 /**
       
    31 * Custom item drawer, to support the "no-folders-marked" feature.
       
    32 */
       
    33 class CBrowserFavouritesListboxItemDrawer: public CColumnListBoxItemDrawer
       
    34     {
       
    35     public:     // construction
       
    36 
       
    37         /**
       
    38         * Constructor.
       
    39         * @param aTextListBoxModel Listbox model.
       
    40         * @param aFont Font.
       
    41         * @param aColumnData Listbox column data.
       
    42         */
       
    43         CBrowserFavouritesListboxItemDrawer
       
    44             (
       
    45             MTextListBoxModel* aTextListBoxModel,
       
    46             const CFont* aFont,
       
    47             CColumnListBoxData* aColumnData
       
    48             );
       
    49 
       
    50     public:     // from CColumnListBoxItemDrawer
       
    51 
       
    52         /**
       
    53         * Get item properties for a listbox item. Same as base class behaviour,
       
    54         * but marking is masked out for folders.
       
    55         * @param aItemIndex Index of listbox item to get properties of.
       
    56         * @return Properties of listbox item.
       
    57         */
       
    58         TListItemProperties Properties( TInt aItemIndex ) const;
       
    59 
       
    60     };
       
    61 
       
    62 #endif
       
    63 
       
    64 // End of File