equal
deleted
inserted
replaced
171 void CreateRockerAvkonButtonsL(const CCoeControl &aContainer); |
171 void CreateRockerAvkonButtonsL(const CCoeControl &aContainer); |
172 |
172 |
173 /** |
173 /** |
174 * Sets the avkon rocker button state and send observer commands |
174 * Sets the avkon rocker button state and send observer commands |
175 */ |
175 */ |
176 TKeyResponse SetAvkonButtonState( const TKeyEvent& aKeyEvent, TEventCode aType ); |
176 TKeyResponse SetAvkonButtonStateL( const TKeyEvent& aKeyEvent, TEventCode aType ); |
177 |
177 |
178 /** |
178 /** |
179 * Callback for long-press timer |
179 * Callback for long-press timer |
180 */ |
180 */ |
181 static TInt TimerCallback(TAny* aPtr); |
181 static TInt TimerCallback(TAny* aPtr); |
182 |
182 |
183 /** |
183 /** |
184 * Handle long press event. |
184 * Handle long press event. |
185 */ |
185 */ |
186 void HandleLongPress(); |
186 void HandleLongPressL(); |
187 |
187 |
188 private: // Data |
188 private: // Data |
189 TRect iParentRect; |
189 TRect iParentRect; |
190 TInt iButton; |
190 TInt iButton; |
191 MMPXButtonCmdObserver* iObserver; // not owned |
191 MMPXButtonCmdObserver* iObserver; // not owned |