13 * |
13 * |
14 * Description: Implementation of playback view's input handler |
14 * Description: Implementation of playback view's input handler |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: 5 % |
18 // Version : %version: 6 % |
19 |
19 |
20 |
20 |
21 // INCLUDE FILES |
21 // INCLUDE FILES |
22 #include <qobject> |
22 #include <qobject> |
23 #include <e32std.h> |
23 #include <e32std.h> |
24 #include <w32std.h> // RWindowBase |
24 #include <w32std.h> // RWindowBase |
25 #include <e32base.h> |
25 #include <e32base.h> |
26 #include <eikclbd.h> |
26 #include <eikclbd.h> |
27 #include <aknconsts.h> |
27 #include <aknconsts.h> |
28 #include <remconcoreapi.h> |
|
29 #include <remconcoreapitarget.h> |
|
30 #include <remconinterfaceselector.h> // Side volume key |
|
31 #include <mpxplaybackframeworkdefs.h> |
28 #include <mpxplaybackframeworkdefs.h> |
32 #include <centralrepository.h> // for peripheral display timeout setting |
|
33 #include <settingsinternalcrkeys.h> // display timeout setting keys |
|
34 #include <hwrmlightdomaincrkeys.h> |
29 #include <hwrmlightdomaincrkeys.h> |
35 #include <mpxvideoplaybackdefs.h> |
30 #include <mpxvideoplaybackdefs.h> |
36 |
|
37 #include <hal.h> |
|
38 #include <hal_data.h> |
|
39 |
31 |
40 #include "mpxvideo_debug.h" |
32 #include "mpxvideo_debug.h" |
41 #include "mpxvideoviewwrapper.h" |
33 #include "mpxvideoviewwrapper.h" |
42 #include "mpxcommonvideoplaybackview.hrh" |
34 #include "mpxcommonvideoplaybackview.hrh" |
43 #include "../inc/mpxvideoplaybackuserinputhandler.h" |
35 #include "../inc/mpxvideoplaybackuserinputhandler.h" |
93 { |
85 { |
94 |
86 |
95 } |
87 } |
96 |
88 |
97 // ------------------------------------------------------------------------------------------------- |
89 // ------------------------------------------------------------------------------------------------- |
98 // CMPXVideoPlaybackUserInputHandler::MrccatoPlay() |
|
99 // ------------------------------------------------------------------------------------------------- |
|
100 // |
|
101 void CMPXVideoPlaybackUserInputHandler::MrccatoPlay( TRemConCoreApiPlaybackSpeed /*aSpeed*/, |
|
102 TRemConCoreApiButtonAction aButtonAct ) |
|
103 { |
|
104 Q_UNUSED( aButtonAct ); |
|
105 } |
|
106 |
|
107 // ------------------------------------------------------------------------------------------------- |
|
108 // CMPXVideoPlaybackUserInputHandler::MrccatoCommand() |
|
109 // ------------------------------------------------------------------------------------------------- |
|
110 // |
|
111 void CMPXVideoPlaybackUserInputHandler::MrccatoCommand(TRemConCoreApiOperationId aOperationId, |
|
112 TRemConCoreApiButtonAction aButtonAct ) |
|
113 { |
|
114 Q_UNUSED( aOperationId ); |
|
115 Q_UNUSED( aButtonAct ); |
|
116 } |
|
117 |
|
118 |
|
119 // ------------------------------------------------------------------------------------------------- |
|
120 // CMPXVideoPlaybackUserInputHandler::DoHandleMediaKey() |
|
121 // ------------------------------------------------------------------------------------------------- |
|
122 // |
|
123 void CMPXVideoPlaybackUserInputHandler::DoHandleMediaKey( TRemConCoreApiOperationId aOperationId, |
|
124 TRemConCoreApiButtonAction aButtonAct ) |
|
125 { |
|
126 Q_UNUSED( aOperationId ); |
|
127 Q_UNUSED( aButtonAct ); |
|
128 } |
|
129 |
|
130 // ------------------------------------------------------------------------------------------------- |
|
131 // CMPXVideoPlaybackUserInputHandler::HandleFastForward() |
|
132 // ------------------------------------------------------------------------------------------------- |
|
133 // |
|
134 void CMPXVideoPlaybackUserInputHandler::HandleFastForward(TRemConCoreApiButtonAction aButtonAct) |
|
135 { |
|
136 Q_UNUSED( aButtonAct ); |
|
137 } |
|
138 |
|
139 |
|
140 // ------------------------------------------------------------------------------------------------- |
|
141 // CMPXVideoPlaybackUserInputHandler::HandleRewind() |
|
142 // ------------------------------------------------------------------------------------------------- |
|
143 // |
|
144 void CMPXVideoPlaybackUserInputHandler::HandleRewind(TRemConCoreApiButtonAction aButtonAct) |
|
145 { |
|
146 Q_UNUSED( aButtonAct ); |
|
147 } |
|
148 |
|
149 // ------------------------------------------------------------------------------------------------- |
|
150 // CMPXVideoPlaybackUserInputHandler::HandleVolumeUp() |
|
151 // ------------------------------------------------------------------------------------------------- |
|
152 // |
|
153 void CMPXVideoPlaybackUserInputHandler::HandleVolumeUp(TRemConCoreApiButtonAction aButtonAct) |
|
154 { |
|
155 Q_UNUSED( aButtonAct ); |
|
156 } |
|
157 |
|
158 |
|
159 // ------------------------------------------------------------------------------------------------- |
|
160 // CMPXVideoPlaybackUserInputHandler::HandleVolumeDown() |
|
161 // ------------------------------------------------------------------------------------------------- |
|
162 // |
|
163 void CMPXVideoPlaybackUserInputHandler::HandleVolumeDown(TRemConCoreApiButtonAction aButtonAct) |
|
164 { |
|
165 Q_UNUSED( aButtonAct ); |
|
166 } |
|
167 |
|
168 // ------------------------------------------------------------------------------------------------- |
|
169 // CMPXVideoPlaybackUserInputHandler::ProcessKeyEvent() |
90 // CMPXVideoPlaybackUserInputHandler::ProcessKeyEvent() |
170 // ------------------------------------------------------------------------------------------------- |
91 // ------------------------------------------------------------------------------------------------- |
171 // |
92 // |
172 void CMPXVideoPlaybackUserInputHandler::ProcessKeyEventL( const TKeyEvent& aKeyEvent, |
93 void CMPXVideoPlaybackUserInputHandler::ProcessKeyEventL( const TKeyEvent& aKeyEvent, |
173 TEventCode aType ) |
94 TEventCode aType ) |
175 Q_UNUSED( aKeyEvent ); |
96 Q_UNUSED( aKeyEvent ); |
176 Q_UNUSED( aType ); |
97 Q_UNUSED( aType ); |
177 } |
98 } |
178 |
99 |
179 // ------------------------------------------------------------------------------------------------- |
100 // ------------------------------------------------------------------------------------------------- |
180 // CMPXVideoPlaybackUserInputHandler::ProcessMediaKey() |
|
181 // ------------------------------------------------------------------------------------------------- |
|
182 // |
|
183 void CMPXVideoPlaybackUserInputHandler::ProcessMediaKey(TRemConCoreApiOperationId aOperationId, |
|
184 TRemConCoreApiButtonAction aButtonAct) |
|
185 { |
|
186 Q_UNUSED( aOperationId ); |
|
187 Q_UNUSED( aButtonAct ); |
|
188 } |
|
189 |
|
190 |
|
191 // ------------------------------------------------------------------------------------------------- |
|
192 // CMPXVideoPlaybackUserInputHandler::HandleVolumeRepeatTimeoutL() |
|
193 // ------------------------------------------------------------------------------------------------- |
|
194 // |
|
195 TInt CMPXVideoPlaybackUserInputHandler::HandleVolumeRepeatTimeoutL( TAny* aPtr ) |
|
196 { |
|
197 Q_UNUSED( aPtr ); |
|
198 } |
|
199 |
|
200 // ------------------------------------------------------------------------------------------------- |
|
201 // CMPXVideoPlaybackUserInputHandler::HandleVolumeRepeatL() |
|
202 // ------------------------------------------------------------------------------------------------- |
|
203 // |
|
204 void CMPXVideoPlaybackUserInputHandler::HandleVolumeRepeatL() |
|
205 { |
|
206 } |
|
207 |
|
208 |
|
209 // ------------------------------------------------------------------------------------------------- |
|
210 // CMPXVideoPlaybackUserInputHandler::SetForeground() |
101 // CMPXVideoPlaybackUserInputHandler::SetForeground() |
211 // ------------------------------------------------------------------------------------------------- |
102 // ------------------------------------------------------------------------------------------------- |
212 // |
103 // |
213 void CMPXVideoPlaybackUserInputHandler::SetForeground(TBool aForeground) |
104 void CMPXVideoPlaybackUserInputHandler::SetForeground(TBool aForeground) |
214 { |
105 { |
215 Q_UNUSED( aForeground ); |
106 Q_UNUSED( aForeground ); |
216 } |
107 } |
217 |
|
218 // ------------------------------------------------------------------------------------------------- |
|
219 // CMPXVideoPlaybackUserInputHandler::DisableBacklight() |
|
220 // ------------------------------------------------------------------------------------------------- |
|
221 // |
|
222 void CMPXVideoPlaybackUserInputHandler::DisableBacklight() |
|
223 { |
|
224 |
|
225 } |
|
226 |
|
227 // ------------------------------------------------------------------------------------------------- |
|
228 // CMPXVideoPlaybackUserInputHandler::EnableBacklight() |
|
229 // ------------------------------------------------------------------------------------------------- |
|
230 // |
|
231 void CMPXVideoPlaybackUserInputHandler::EnableBacklight() |
|
232 { |
|
233 |
|
234 } |
|
235 |
|
236 |
108 |
237 // ------------------------------------------------------------------------------------------------- |
109 // ------------------------------------------------------------------------------------------------- |
238 // CMPXVideoPlaybackUserInputHandler::HandleTVOutEvent() |
110 // CMPXVideoPlaybackUserInputHandler::HandleTVOutEvent() |
239 // ------------------------------------------------------------------------------------------------- |
111 // ------------------------------------------------------------------------------------------------- |
240 // |
112 // |
241 void CMPXVideoPlaybackUserInputHandler::HandleTVOutEventL( TBool aTVOutConnected ) |
113 void CMPXVideoPlaybackUserInputHandler::HandleTVOutEventL( TBool aTVOutConnected ) |
242 { |
114 { |
243 Q_UNUSED( aTVOutConnected ); |
115 Q_UNUSED( aTVOutConnected ); |
244 } |
116 } |
245 |
117 |
246 |
|
247 |
|
248 // ------------------------------------------------------------------------------------------------- |
|
249 // CMPXVideoPlaybackUserInputHandler::HandleDisplayTimeout |
|
250 // ------------------------------------------------------------------------------------------------- |
|
251 // |
|
252 TInt CMPXVideoPlaybackUserInputHandler::HandleDisplayTimeout( TAny* aPtr ) |
|
253 { |
|
254 Q_UNUSED( aPtr ); |
|
255 } |
|
256 |
|
257 // ----------------------------------------------------------------------------- |
|
258 // CMPXVideoPlaybackUserInputHandler::RestartDisplayTimer |
|
259 // ----------------------------------------------------------------------------- |
|
260 // |
|
261 void CMPXVideoPlaybackUserInputHandler::RestartDisplayTimer() |
|
262 { |
|
263 |
|
264 } |
|
265 |
|
266 // EOF |
118 // EOF |