Location:
coeauib.h
Link against: cone.lib
CCoeAppUiBase
Supported from 5.0
Application UI abstract base class. CCoeAppUiBase
is
the base class for the two concrete app UI classes,
CCoeAppUiSimple
and CCoeAppUi
.
|
Defined in CCoeAppUiBase
:
HandleWsEventL()
, PrepareToExit()
Inherited from CBase
:
operator new()
virtual void HandleWsEventL(const TWsEvent& aEvent,CCoeControl* aDestination);
Handles standard window server events.
This function is called (by CCoeEnv::RunL()
) when
the application receives a standard event from the window server.
Implementations are provided by CCoeAppUiSimple
and
CCoeAppUi
, but this function may also be overridden by derived
classes.
This function is also called by
CCoeEnv::SimulateKeyEventL()
.
Note:
A standard even is any window server event that is not a redraw event or a priority key event.
|
virtual void PrepareToExit();
Performs pre-exit processing on the control environment.
This function is called after the control environment’s
active scheduler exits, but before the control environment (i.e., the
CCoeEnv
object) is destroyed. The default implementation is empty,
and this function is not implemented by CCoeAppUiSimple
or
CCoeAppUi
— but it may be implemented by derived
classes to perform pre-exit processing on the control
environment.