class MCoeMessageObserver |
Interface for handling incoming window server messages.
This interface is used to enable FEPs to keep their settings synchronised across all running instances.
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.
Public Member Functions | |
---|---|
TMessageResponse | HandleMessageL(TUint32, TUid, const TDesC8 &) |
Protected Member Functions | |
---|---|
MCoeMessageObserver() |
Private Member Functions | |
---|---|
IMPORT_C void | MCoeMessageObserver_Reserved_1() |
IMPORT_C void | MCoeMessageObserver_Reserved_2() |
Public Member Enumerations | |
---|---|
enum | TMessageResponse { EMessageNotHandled, EMessageHandled } |
TMessageResponse | HandleMessageL | ( | TUint32 | aClientHandleOfTargetWindowGroup, |
TUid | aMessageUid, | |||
const TDesC8 & | aMessageParameters | |||
) | [pure virtual] |
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.
Message response flags.
EMessageNotHandled |
Message not handled. |
EMessageHandled |
Message handled. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.