MCoeControlStateObserver Class Reference

class MCoeControlStateObserver

This class defines an interface which will given notification of when a CCoeControl changes its visibility or dimmed state.

Public Member Functions
DECLARE_TYPE_ID (0x10285A45)
Private Member Functions
TInt HandleControlStateChange ( CCoeControl *, TCoeState )
Public Member Enumerations
enum TCoeState { EStateDimmed , EStateVisibility }

Member Functions Documentation

DECLARE_TYPE_ID(0x10285A45)

DECLARE_TYPE_ID ( 0x10285A45 ) [inline]

The MObjectProvider framework should use this UID to know when to return a concrete instance of this interface.

Parameters

0x10285A45

HandleControlStateChange(CCoeControl *, TCoeState)

TInt HandleControlStateChange ( CCoeControl * aControl,
TCoeState aState
) [private, pure virtual]

If an object implementing this interface has been attached to the MObjectProvider hierarchy in which a CCoeControl is a member, any call to the CCoeControl's SetDimmed() or MakeVisible() (that results in an actual state change) will trigger a call to this interface.

Parameters

CCoeControl * aControl A pointer to the control that has changed.
TCoeState aState An enum from TCoeState to say how the control has changed.

Member Enumerations Documentation

Enum TCoeState

Enumerators

EStateDimmed

This enum is used to say that the control has changed its Dimmed state

EStateVisibility

This enum is used to say that the control has changed its Visibility state