equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of MPXVideoPlaybackUserInputHandler |
14 * Description: Implementation of MPXVideoPlaybackUserInputHandler |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: ou1cpsw#7 % |
|
19 |
18 |
|
19 // Version : %version: 8 % |
20 |
20 |
21 |
21 |
22 #ifndef MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_ |
22 #ifndef MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_ |
23 #define MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_ |
23 #define MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_ |
24 |
24 |
101 * Setter method for iForeground |
101 * Setter method for iForeground |
102 * @param aForeground - the value to be set |
102 * @param aForeground - the value to be set |
103 * @return void |
103 * @return void |
104 */ |
104 */ |
105 void SetForeground(TBool aForeground); |
105 void SetForeground(TBool aForeground); |
106 |
106 |
107 |
|
108 |
|
109 private: |
107 private: |
110 /** |
108 /** |
111 * Handles volume repeat timer timout |
109 * Handles volume repeat timer timout |
112 * @return TInt |
110 * @return TInt |
113 */ |
111 */ |
128 void HandleVolumeDown(TRemConCoreApiButtonAction aButtonAct); |
126 void HandleVolumeDown(TRemConCoreApiButtonAction aButtonAct); |
129 |
127 |
130 void ReRoutePointerEventL(CCoeControl* aControl, |
128 void ReRoutePointerEventL(CCoeControl* aControl, |
131 const TPointerEvent& aPointerEvent, |
129 const TPointerEvent& aPointerEvent, |
132 TMPXVideoControlType aMPXControl); |
130 TMPXVideoControlType aMPXControl); |
133 |
131 |
134 |
|
135 private: |
132 private: |
136 |
133 |
137 TMPXVideoUserInputType iProcessingInputType; // the type of input being processed |
134 TMPXVideoUserInputType iProcessingInputType; // the type of input being processed |
138 TUint iLastPressedKeyCode; // keycode of last key that sent EEventKeyDown |
135 TUint iLastPressedKeyCode; // keycode of last key that sent EEventKeyDown |
139 TInt iLastPressedKeyScanCode; // scancode of last key that sent EEventKeyDown |
136 TInt iLastPressedKeyScanCode; // scancode of last key that sent EEventKeyDown |
143 CRemConCoreApiTarget* iCoreTarget; // Owned by CRemConInterfaceSelector |
140 CRemConCoreApiTarget* iCoreTarget; // Owned by CRemConInterfaceSelector |
144 |
141 |
145 CPeriodic* iVolumeRepeatTimer; // owned |
142 CPeriodic* iVolumeRepeatTimer; // owned |
146 TBool iVolumeRepeatUp; |
143 TBool iVolumeRepeatUp; |
147 TBool iForeground; |
144 TBool iForeground; |
148 |
|
149 CMPXVideoPlaybackContainer* iContainer; // not owned |
|
150 |
145 |
151 |
146 CMPXVideoPlaybackContainer* iContainer; // not owned |
|
147 CCoeControl* iActiveControlPtr; // not owned |
|
148 TMPXVideoControlType iActiveControlType; |
152 }; |
149 }; |
153 |
150 |
154 |
151 |
155 #endif /*MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_*/ |
152 #endif /*MPXVIDEOPLAYBACKUSERINPUTHANDLER_H_*/ |
156 |
153 |