class MAlfEventHandler |
MAlfEventHandler is an interface that can be derived by any object that want's to handle Alfred UI Toolkit events scheduled by AlfCommandScheduler.
If an object wishes to process events from the toolkit, it should implement this interface.
The destructor will NOT cancel any pending commands enqueued to this object, so you must call eg. CAlfEnv::CancelCommands(this); to cancel still pending commands to prevent calling destroyed object.
Public Member Functions | |
---|---|
TBool | OfferEventL(const TAlfEvent &) |
TBool | OfferEventL | ( | const TAlfEvent & | aEvent | ) | [pure virtual] |
Called when an input event is being offered to this object.
The implementation must ensure that the function returns EFalse if it does not do anything in response to the event, otherwise, other objects may be prevented from receiving the event. If it is able to process the event it should return ETrue.
const TAlfEvent & aEvent | Event to be handled. |
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.