#include <mw/coemain.h>
class MCoeFocusObserver |
Public Member Functions | |
---|---|
pure virtual void | HandleChangeInFocus() |
pure virtual void | HandleDestructionOfFocusedItem() |
Protected Member Functions | |
---|---|
MCoeFocusObserver() |
Interface providing notification if any control gains or loses focus or is destroyed.
The FEP framework uses this class to observe when a target control changes for reasons unrelated to the FEP.
Anything that needs such notification should derive from this class and implement its two pure virtual functions.
In addition, derived classes need to call CCoeEnv::AddFocusObserverL() during construction, and CCoeEnv::RemoveFocusObserver() in their destructors.
See also: CCoeFep