contentstorage/extinc/camenuiconutility.h
changeset 66 32469d7d46ff
parent 61 8e5041d13c84
child 73 4bc7b118b3df
equal deleted inserted replaced
61:8e5041d13c84 66:32469d7d46ff
     1 /*
       
     2 * Copyright (c) 2008 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 "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:  The API supports requesting raw bitmaps
       
    15  *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef __CAMENUICONUTILITY_H__
       
    20 #define __CAMENUICONUTILITY_H__
       
    21 
       
    22 #include <AknIconUtils.h>
       
    23 
       
    24 class CCaInnerEntry;
       
    25 
       
    26 /**
       
    27  *  Icon utility.
       
    28  *  This is a utilitiy class providing method(s) for querying raw bitmap data
       
    29  *  belonging to menu items
       
    30  *  @lib caextendedmenu.lib
       
    31  *  @since S60 v5.0
       
    32  */
       
    33 NONSHARABLE_CLASS( CaMenuIconUtility )
       
    34     {
       
    35 public:
       
    36     /**
       
    37      * Creates the icon that belongs to a menu item.
       
    38      * @since S60 v5.0.
       
    39      * @param aEntry entry for which an icon is queried for
       
    40      * @return the icon of the specified entry. The ownership of the icon
       
    41      * object is transferred to the caller.
       
    42      */
       
    43     IMPORT_C static CAknIcon* GetItemIcon( const CCaInnerEntry &aEntry );
       
    44     };
       
    45 
       
    46 #endif // __CAMENUICONUTILITY_H__