CMenuHandlerEng Class Reference

class CMenuHandlerEng : public CBase
Menu handler engine. Handler related menu functionality and objects (factory, handler list, ...) are collected in this class, to keep RMenu implementation and API clean. mcsmenu.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CMenuHandlerEng(RMenu &)

CMenuHandlerEng ( RMenu & aMenu ) [protected]

Constructor.

Parameters

RMenu & aMenu Menu.

~CMenuHandlerEng()

~CMenuHandlerEng ( ) [virtual]

Destructor.

Member Functions Documentation

FindHandler(const TDesC &)

CMenuHandler * FindHandler ( const TDesC & aType ) [private]

Find loaded handler by type.

Parameters

const TDesC & aType Type.

HandleCommandL(CMenuItem &, const TDesC8 &, const TDesC8 &, TRequestStatus &)

CMenuOperation * HandleCommandL ( CMenuItem & aItem,
const TDesC8 & aCommand,
const TDesC8 & aParams,
TRequestStatus & aStatus
)

Handle command.

Parameters

CMenuItem & aItem Item.
const TDesC8 & aCommand Command.
const TDesC8 & aParams
TRequestStatus & aStatus Observer request status. When the operation completes, this status will be completed with the resulting error code.

LoadHandlerL(const TDesC &)

CMenuHandler * LoadHandlerL ( const TDesC & aType ) [private]

Load handler for given type.

Parameters

const TDesC & aType Type.

NewL(RMenu &)

CMenuHandlerEng * NewL ( RMenu & aMenu ) [static]

Two-phased constructor.

Parameters

RMenu & aMenu Menu.

Member Data Documentation

RPointerArray< CMenuHandler > iHandlers

RPointerArray < CMenuHandler > iHandlers [private]

RMenu & iMenu

RMenu & iMenu [private]