MCoeForegroundObserver Class Reference

class MCoeForegroundObserver

Interface providing notification of foreground/background changes.

The FEP framework class, CCoeFep, derives from MCoeForegroundObserver, which enables FEPs to receive notification when the target application (which receives the FEP's output) goes into the foreground or background.

Anything that needs this notification should derive from this class and override its two pure virtual functions.

In addition, derived classes also need to call CCoeEnv::AddForegroundObserverL() during construction, and CCoeEnv::RemoveForegroundObserver() in their destructors.

CCoeFep

Public Member Functions
voidHandleGainingForeground()
voidHandleLosingForeground()
Protected Member Functions
MCoeForegroundObserver()
Private Member Functions
IMPORT_C voidMCoeForegroundObserver_Reserved_1()
IMPORT_C voidMCoeForegroundObserver_Reserved_2()
Private Attributes
TInt iMCoeForegroundObserver_Reserved1

Constructor & Destructor Documentation

MCoeForegroundObserver()

IMPORT_CMCoeForegroundObserver()[protected]

Member Functions Documentation

HandleGainingForeground()

voidHandleGainingForeground()[pure virtual]

Handles the application coming to the foreground.

HandleLosingForeground()

voidHandleLosingForeground()[pure virtual]

Handles the application going into the background.

MCoeForegroundObserver_Reserved_1()

IMPORT_C voidMCoeForegroundObserver_Reserved_1()[private, virtual]

MCoeForegroundObserver_Reserved_2()

IMPORT_C voidMCoeForegroundObserver_Reserved_2()[private, virtual]

Member Data Documentation

TInt iMCoeForegroundObserver_Reserved1

TInt iMCoeForegroundObserver_Reserved1[private]