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 & aMenuMenu.

~CMenuHandlerEng()

~CMenuHandlerEng()[virtual]

Destructor.

Member Functions Documentation

FindHandler(const TDesC &)

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

Find loaded handler by type.

Parameters

const TDesC & aTypeType.

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

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

Handle command.

Parameters

CMenuItem & aItemItem.
const TDesC8 & aCommandCommand.
const TDesC8 & aParams
TRequestStatus & aStatusObserver 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 & aTypeType.

NewL(RMenu &)

CMenuHandlerEng *NewL(RMenu &aMenu)[static]

Two-phased constructor.

Parameters

RMenu & aMenuMenu.

Member Data Documentation

RPointerArray< CMenuHandler > iHandlers

RPointerArray< CMenuHandler >iHandlers[private]

RMenu & iMenu

RMenu &iMenu[private]