Location:
coemain.h
MCoeMessageObserver
Supported from 6.0
Interface for handling incoming window server messages.
This interface is used to enable FEPs to keep their settings synchronised across all running instances.
Writing derived classes:
Anything that needs to be notified of messages that get sent by the window-server's message-sending service should derive from this class and override its pure virtual function.
In addition, derived classes also need to call
CCoeEnv::AddMessageObserverL()
during construction and
CCoeEnv::RemoveMessageObserver()
in their
destructors.
Defined in MCoeMessageObserver
:
EMessageHandled
, EMessageNotHandled
, HandleMessageL()
, TMessageResponse
virtual TMessageResponse HandleMessageL(TUint32 aClientHandleOfTargetWindowGroup, TUid aMessageUid, const TDesC8& aMessageParameters)=0;
Handles window server messages.
Implementations should return EMessageHandled
if
they are able to handle the message, or EMessageNotHandled
if the
message is not appropriate to this observer.
|
|
TMessageResponse
Message response flags.
|