Location:
coemain.h
Link against: cone.lib
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.
Defined in MCoeForegroundObserver
:
HandleGainingForeground()
, HandleLosingForeground()
, MCoeForegroundObserver()
, MCoeForegroundObserver_Reserved_1()
, MCoeForegroundObserver_Reserved_2()
virtual void HandleGainingForeground()=0;
Handles the application coming to the foreground.
virtual void HandleLosingForeground()=0;
Handles the application going into the background.
private: virtual IMPORT_C void MCoeForegroundObserver_Reserved_2();