browserui/browser/FavouritesInc/BrowserFavouritesIconIndexArray.h
branchRCL_3
changeset 65 8e6fa1719340
parent 0 84ad3b177aa3
equal deleted inserted replaced
64:6385c4c93049 65: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 CWmlBrowserFavouritesIconIndexArray and
       
    16 *                     class TWmlBrowserFavouritesIconIndexes.
       
    17 *                     
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 #ifndef BROWSER_FAVOURITES_ICON_INDEX_ARRAY_H
       
    23 #define BROWSER_FAVOURITES_ICON_INDEX_ARRAY_H
       
    24 
       
    25 // INCLUDE FILES
       
    26 
       
    27 #include <e32base.h>
       
    28 
       
    29 // CONSTANTS
       
    30 
       
    31 /// No bearer icon for this item.
       
    32 LOCAL_C const TInt KBrowserFavouritesNoBearerIcon = -1;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 * Icon indexes for one listbox item. There are two icons, one in the left
       
    38 * (item/folder/homepage/last visited); and a bearer icon on the right.
       
    39 * If the WAP AP is not a concrete value, there is no bearer icon.
       
    40 */
       
    41 struct TBrowserFavouritesIconIndexes
       
    42     {
       
    43     public:     // data
       
    44 
       
    45         /**
       
    46         * Item icon index (item/folder/last visited/homepage).
       
    47         */
       
    48         TInt iItemIcon;
       
    49         /**
       
    50         * Bearer icon index; can be KBrowserFavouritesNoBearerIcon.
       
    51         */
       
    52         TInt iBearerIcon;
       
    53     };
       
    54 
       
    55 /**
       
    56 * An array of icon indexes for the listbox.
       
    57 */
       
    58 class CBrowserFavouritesIconIndexArray:
       
    59                         public CArrayFixFlat<TBrowserFavouritesIconIndexes>
       
    60     {
       
    61     public:     // construct / destruct
       
    62 
       
    63         /**
       
    64         * Constructor (no code).
       
    65         */
       
    66         inline CBrowserFavouritesIconIndexArray( TInt aGranularity );
       
    67     };
       
    68 
       
    69 #include "BrowserFavouritesIconIndexArray.inl"
       
    70 
       
    71 #endif
       
    72 
       
    73 // End of file