class MEventHandler |
Event handler interface.
The interface provides a function to handle raw events, e.g. key presses, pen events, power buttons etc. Raw events are passed to the OfferRawEvent() function when the MAnimGeneralFunctions::GetRawEvents() function has been called.
Public Member Functions | |
---|---|
TBool | OfferRawEvent(const TRawEvent &) |
TBool | OfferRawEvent | ( | const TRawEvent & | aRawEvent | ) | [pure virtual] |
Handles raw events.
If the incoming event can be handled, the function should process it and then return true. If it cannot be processed the function should return false, and the event will be passed to other event handling code.
This function must be implemented in every animation DLL. If event handling is not required, the function should simply return false.
const TRawEvent & aRawEvent | The raw event to be processed |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.