equal
deleted
inserted
replaced
|
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 __MCSICONUTILITY_H__ |
|
20 #define __MCSICONUTILITY_H__ |
|
21 |
|
22 #include <AknIconUtils.h> |
|
23 class CMenuItem; |
|
24 class CLiwDefaultMap; |
|
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 mcsextendedmenu.lib |
|
31 * @since S60 v5.0 |
|
32 */ |
|
33 NONSHARABLE_CLASS( McsIconUtility ) |
|
34 { |
|
35 public: |
|
36 |
|
37 /** |
|
38 * Creates the icon that belongs to a menu item. |
|
39 * @since S60 v5.0. |
|
40 * @param aItem The menu item the icon is querried for |
|
41 * @return the icon of the specified menu item. The ownership of the icon |
|
42 * object is transferred to the caller. |
|
43 */ |
|
44 |
|
45 static CAknIcon* GetItemIconL( const CLiwDefaultMap* aMap ); |
|
46 }; |
|
47 |
|
48 #endif // __MCSICONUTILITY_H__ |