class MHuiEventHandler |
MHuiEventHandler is an interface that can be derived by any object that want's to handle Hitchcock UI Toolkit events scheduled by HuiScheduler.
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. CHuiEnv::CancelCommands(this); to cancel still pending commands to prevent calling destroyed object.
Public Member Functions | |
---|---|
~MHuiEventHandler () | |
TBool | OfferEventL (const THuiEvent &) |
IMPORT_C | ~MHuiEventHandler | ( | ) | [virtual] |
Destructor.
Will NOT cancel any pending commands scheduled to this object, so you must call eg. CHuiEnv::CancelCommands(this); to cancel still pending commands to prevent calling destroyed object.
TBool | OfferEventL | ( | const THuiEvent & | 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 THuiEvent & 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.