CAddedDevSoundControlMsgHdlr Class Reference

class CAddedDevSoundControlMsgHdlr : public CMMFObject

Handle messages received from the interface proxy. The class receives the messages sent by the custom interface proxy and makes the appropriate call on its custom interface implementation.

AddedDevSoundControlMsgHdlr.lib
Since
S60 3.2

Inherits from

Constructor & Destructor Documentation

CAddedDevSoundControlMsgHdlr(MAddedDevSoundControl *)

CAddedDevSoundControlMsgHdlr ( MAddedDevSoundControl * aAddedDSControlCI ) [private]

C++ default constructor.

CAddedDevSoundControlMsgHdlr::CAddedDevSoundControlMsgHdlr C++ default constructor can NOT contain any code, that might leave.

Parameters

MAddedDevSoundControl * aAddedDSControlCI

~CAddedDevSoundControlMsgHdlr()

~CAddedDevSoundControlMsgHdlr ( ) [virtual]

Destructor.

Destructor

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

By default Symbian 2nd phase constructor is private.

CAddedDevSoundControlMsgHdlr::ConstructL Symbian 2nd phase constructor can leave.

DoHandleRequestL(TMMFMessage &)

void DoHandleRequestL ( TMMFMessage & aMessage ) [private]

Determines which custom interface to call.

Since
S60 3.2
CAddedDevSoundControlMsgHdlr::DoHandleRequestL Determines which custom interface to call. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoPauseAndFlushL(TMMFMessage &)

void DoPauseAndFlushL ( TMMFMessage & aMessage ) [private]

Handles EAddedDSControlPauseAndFlush message from the proxy and calls custom interface method.

Since
S60 3.2
CAddedDevSoundControlMsgHdlr::DoPauseAndFlushL Handles EAddedDSControlPauseAndFlush message from the proxy and calls custom interface method.

(other items were commented in a header).

Parameters

TMMFMessage & aMessage

DoSetHwAwarenessL(TMMFMessage &)

void DoSetHwAwarenessL ( TMMFMessage & aMessage ) [private]

Handles EAddedDSControlSetHwAwareness message from the proxy and calls custom interface method.

Since
S60 3.2
CAddedDevSoundControlMsgHdlr::DoSetHwAwarenessL Handles EAddedDSControlSetHwAwareness message from the proxy and calls custom interface method.

(other items were commented in a header).

Parameters

TMMFMessage & aMessage

HandleRequest(TMMFMessage &)

void HandleRequest ( TMMFMessage & aMessage ) [virtual]

From CAddedDevSoundControl

CAddedDevSoundControlMsgHdlr::HandleRequest Handles messages from the proxy. Calls a subfunction, which determines what custom interface to call. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).

Parameters

TMMFMessage & aMessage

NewL(TAny *)

IMPORT_C CAddedDevSoundControlMsgHdlr * NewL ( TAny * aAddedDSControlCI ) [static]

Two-phased constructor.

CAddedDevSoundControlMsgHdlr::NewL Two-phased constructor.

Parameters

TAny * aAddedDSControlCI

Member Data Documentation

MAddedDevSoundControl * iAddedDSControlCI

MAddedDevSoundControl * iAddedDSControlCI [private]