MCoeFocusObserver Class Reference

class 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.

CCoeFep

Public Member Functions
void HandleChangeInFocus ()
void HandleDestructionOfFocusedItem ()
Protected Member Functions
MCoeFocusObserver ()
Private Member Functions
IMPORT_C void MCoeFocusObserver_Reserved_1 ()
IMPORT_C void MCoeFocusObserver_Reserved_2 ()
Private Attributes
TInt iMCoeFocusObserver_Reserved1

Constructor & Destructor Documentation

MCoeFocusObserver()

IMPORT_C MCoeFocusObserver ( ) [protected]

Member Functions Documentation

HandleChangeInFocus()

void HandleChangeInFocus ( ) [pure virtual]

Handles changes in focus. The function is called if any control gains or loses focus.

HandleDestructionOfFocusedItem()

void HandleDestructionOfFocusedItem ( ) [pure virtual]

Handles the destruction of any control. It is called by the framework if any control is destroyed.

MCoeFocusObserver_Reserved_1()

IMPORT_C void MCoeFocusObserver_Reserved_1 ( ) [private, virtual]

MCoeFocusObserver_Reserved_2()

IMPORT_C void MCoeFocusObserver_Reserved_2 ( ) [private, virtual]

Member Data Documentation

TInt iMCoeFocusObserver_Reserved1

TInt iMCoeFocusObserver_Reserved1 [private]