Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <COEMAIN.H>
Link against: cone.lib

Class MCoeForegroundObserver

class MCoeForegroundObserver;

Description

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(MCoeForegroundObserver &) during construction, and CCoeEnv::RemoveForegroundObserver(MCoeForegroundObserver &) in their destructors.

Members

Defined in MCoeForegroundObserver:


Construction and destruction


MCoeForegroundObserver()

protected: IMPORT_C MCoeForegroundObserver();

Description

[Top]


Member functions


HandleGainingForeground()

virtual void HandleGainingForeground()=0;

Description

Handles the application coming to the foreground.


HandleLosingForeground()

virtual void HandleLosingForeground()=0;

Description

Handles the application going into the background.


MCoeForegroundObserver_Reserved_1()

private: IMPORT_C virtual void MCoeForegroundObserver_Reserved_1();

Description


MCoeForegroundObserver_Reserved_2()

private: IMPORT_C virtual void MCoeForegroundObserver_Reserved_2();

Description