|
1 /* |
|
2 * Copyright (c) 2002-2004 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: External rendering plugin adapter header |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef XNEXTRENDERINGPLUGINADAPTER_H |
|
19 #define XNEXTRENDERINGPLUGINADAPTER_H |
|
20 |
|
21 // System includes |
|
22 #include <e32base.h> |
|
23 #include <ecom/ecom.h> |
|
24 #include <coecntrl.h> |
|
25 |
|
26 // User includes |
|
27 |
|
28 /** |
|
29 * CXnExtRenderingPluginAdapter class |
|
30 * |
|
31 * |
|
32 * @code |
|
33 * |
|
34 * @endcode |
|
35 * |
|
36 * @lib extrenderingplugin.lib |
|
37 * @since S60 v5.0 |
|
38 */ |
|
39 class CXnExtRenderingPluginAdapter : public CCoeControl |
|
40 { |
|
41 public: // Constructor and destructor |
|
42 /** |
|
43 * Two-phased constructor. |
|
44 */ |
|
45 IMPORT_C static CXnExtRenderingPluginAdapter* NewL( TUid aImplUid ); |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 IMPORT_C virtual ~CXnExtRenderingPluginAdapter(); |
|
51 |
|
52 private: // Constructors |
|
53 /** |
|
54 * Constructor |
|
55 */ |
|
56 // CXnExtRenderingPluginAdapter(); |
|
57 |
|
58 /** |
|
59 * Second phase constructor |
|
60 */ |
|
61 // void ConstructL(); |
|
62 |
|
63 public: // New functions, |
|
64 |
|
65 /** |
|
66 * Returns the implementation uid. |
|
67 */ |
|
68 IMPORT_C TUid ImplUid() const; |
|
69 |
|
70 /** |
|
71 * Enters power save mode. |
|
72 */ |
|
73 IMPORT_C virtual void EnterPowerSaveModeL(); |
|
74 |
|
75 /** |
|
76 * Exits power save mode. |
|
77 */ |
|
78 IMPORT_C virtual void ExitPowerSaveModeL(); |
|
79 |
|
80 /** |
|
81 * Informs skin change. |
|
82 */ |
|
83 IMPORT_C virtual void SkinChanged(); |
|
84 |
|
85 /** |
|
86 * Informs focuschange. |
|
87 */ |
|
88 IMPORT_C virtual void FocusChanged( TDrawNow aDrawNow ); |
|
89 |
|
90 /** |
|
91 * Informs size change. |
|
92 */ |
|
93 IMPORT_C virtual void SizeChanged(); |
|
94 |
|
95 private: // Data |
|
96 |
|
97 /** |
|
98 * Destruct key |
|
99 */ |
|
100 TUid iDestructKey; |
|
101 |
|
102 /** |
|
103 * Implementation UID |
|
104 */ |
|
105 TUid iImplUid; |
|
106 }; |
|
107 |
|
108 |
|
109 #endif // XNEXTRENDERINGPLUGINADAPTER_H |
|
110 |
|
111 // End of file |