55
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-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: Class header for CWsfIconArrayCreator
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
#ifndef C_WSFICONARRAYCREATOR_H
|
|
20 |
#define C_WSFICONARRAYCREATOR_H
|
|
21 |
|
|
22 |
// EXTERNAL INCLUDES
|
|
23 |
#include <e32base.h>
|
|
24 |
|
|
25 |
|
|
26 |
// FORWARD DECLARATIONS
|
|
27 |
class CAknIconArray;
|
|
28 |
class CGulIcon;
|
|
29 |
|
|
30 |
// CLASS DEFINITION
|
|
31 |
/**
|
|
32 |
* Responsible for the creation of the suitable needed icons.
|
|
33 |
* @since S60 5.0
|
|
34 |
*/
|
|
35 |
NONSHARABLE_CLASS( CWsfIconArrayCreator ) : public CBase
|
|
36 |
{
|
|
37 |
public: // Constructors and destructor
|
|
38 |
|
|
39 |
/**
|
|
40 |
* Create an icon array
|
|
41 |
* @since S60 5.0
|
|
42 |
* @return The constructed icon array. Ownership passed.
|
|
43 |
*/
|
|
44 |
static CAknIconArray* CreateArrayL();
|
|
45 |
|
|
46 |
/**
|
|
47 |
* Returns the pointer to icon loaded by the AknIconUtils/AknUtil
|
|
48 |
* @param aIconId The id of the icon to load
|
|
49 |
* @return Pointer of the icon.
|
|
50 |
*/
|
|
51 |
static CGulIcon* GetIconLC( TInt aIconId );
|
|
52 |
|
|
53 |
};
|
|
54 |
|
|
55 |
#endif // C_WSFICONARRAYCREATOR_H
|
|
56 |
|
|
57 |
// end of file
|