Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <COECOBS.H>

Class MCoeControlStateObserver

class MCoeControlStateObserver;

Description

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

Members

Defined in MCoeControlStateObserver:


Member functions


HandleControlStateChange(CCoeControl *,TCoeState)

private: virtual TInt HandleControlStateChange(CCoeControl *aControl, TCoeState aState)=0;

Description

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.

MCoeControlStateObserver::TCoeState aState

An enum from TCoeState to say how the control has changed.

Return value

TInt

A system wide error code, currently ignored but may not be in future.

[Top]


Member enumerations


Enum anonymous

n/a

Description

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

ETypeId


Enum TCoeState

TCoeState

Description

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