Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: coeauib.h
Link against: cone.lib

Class CCoeAppUiBase

CCoeAppUiBase

Support

Supported from 5.0

Description

Application UI abstract base class. CCoeAppUiBase is the base class for the two concrete app UI classes, CCoeAppUiSimple and CCoeAppUi.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCoeAppUiBaseApplication UI abstract base class

Defined in CCoeAppUiBase:
HandleWsEventL(), PrepareToExit()

Inherited from CBase:
operator new()


Member functions


HandleWsEventL()

virtual void HandleWsEventL(const TWsEvent& aEvent,CCoeControl* aDestination);

Description

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:

Parameters

const TWsEvent& aEvent

The event that occurred.

CCoeControl* aDestination

The control that the event occurred in. (For key events this is the application’s window group.)


PrepareToExit()

virtual void PrepareToExit();

Description

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.