19 #define XNEXTRENDERINGPLUGINWRAPPER_H |
19 #define XNEXTRENDERINGPLUGINWRAPPER_H |
20 |
20 |
21 // System includes |
21 // System includes |
22 #include <e32base.h> |
22 #include <e32base.h> |
23 #include <xnextrenderingpluginadapter.h> |
23 #include <xnextrenderingpluginadapter.h> |
|
24 #include <xnexteventhandler.h> |
24 |
25 |
25 // User includes |
26 // User includes |
26 #include "xncontroladapter.h" |
27 #include "xncontroladapter.h" |
27 #include "xnproperty.h" |
28 #include "xnproperty.h" |
28 #include "xncomponent.h" |
29 #include "xncomponent.h" |
81 |
82 |
82 void SizeChanged(); |
83 void SizeChanged(); |
83 |
84 |
84 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
85 TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType); |
85 |
86 |
|
87 /** |
|
88 * Routes the data stream for the external rendering plugin. |
|
89 * |
|
90 * @since Series 60 5.2 |
|
91 * @param aData Data stream. |
|
92 * @param aType Type of the stream. |
|
93 * @param aIndex Index of the data. |
|
94 */ |
|
95 void SetDataL( const TDesC8& aData, const TDesC& aType, TInt aIndex ); |
|
96 |
86 public: // New functions |
97 public: // New functions |
87 |
98 |
88 /** |
99 /** |
89 * @see CXnControlAdapter |
100 * @see CXnControlAdapter |
90 */ |
101 */ |
91 void DoEnterPowerSaveModeL( TModeEvent aEvent ); |
102 void DoEnterPowerSaveModeL( TModeEvent aEvent ); |
92 |
103 |
93 /** |
104 /** |
94 * @see CXnControlAdapter |
105 * @see CXnControlAdapter |
95 */ |
106 */ |
96 void DoExitPowerSaveModeL( TModeEvent aEvent ); |
107 void DoExitPowerSaveModeL( TModeEvent aEvent ); |
97 |
108 |
|
109 /** |
|
110 * Routes the events from the external rendering plug-ins to content plug-ins |
|
111 * @since Series 60 5.2 |
|
112 * @param aEvent Event string |
|
113 * @param aDestination Destination content plug-in. |
|
114 */ |
|
115 void HandleEventL( const TDesC& aEvent, const TDesC8& aDestination ); |
|
116 |
98 private: // Data |
117 private: // Data |
99 |
118 |
100 /** |
119 /** |
101 * Rendering plugin adapter. Own. |
120 * Rendering plugin adapter. Own. |
102 */ |
121 */ |