|
1 /* |
|
2 * Copyright (c) 2007 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: Active Palette 2 Tooltip Factory class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef ACTIVE_PALETTE_2_TOOLTIP_FACTORY_H |
|
20 #define ACTIVE_PALETTE_2_TOOLTIP_FACTORY_H |
|
21 |
|
22 |
|
23 // =========================================================================== |
|
24 // Includes |
|
25 #include <activepalette2factory.h> |
|
26 |
|
27 |
|
28 // =========================================================================== |
|
29 // Forward declarations |
|
30 class CActivePalette2Tooltip; |
|
31 class CActivePalette2BasicUI; |
|
32 class CActivePalette2Model; |
|
33 class CActivePalette2Styler; |
|
34 |
|
35 |
|
36 // =========================================================================== |
|
37 // Class declarations |
|
38 /** |
|
39 * Factory class to generate Tooltip instances. |
|
40 */ |
|
41 class ActivePalette2TooltipFactory |
|
42 { |
|
43 public: |
|
44 |
|
45 /** |
|
46 * Creates a tooltip based on the supplied draw mode |
|
47 * @param aDrawMode The draw mode to implement |
|
48 * @return The instantiated tooltip |
|
49 */ |
|
50 static CActivePalette2Tooltip* CreateTooltipL( TActivePalette2DrawMode aDrawMode, |
|
51 const CActivePalette2BasicUI* aParent, |
|
52 CActivePalette2Model* aModel, |
|
53 CActivePalette2Styler* aStyler ); |
|
54 }; |
|
55 |
|
56 #endif // ACTIVE_PALETTE_2_TOOLTIP_FACTORY_H |
|
57 |
|
58 // =========================================================================== |
|
59 // end of file |