CMenuHandler Class Reference

class CMenuHandler : public CBase
Menu handler interface. Menu handlers execute menu commands. mcsmenu.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

CMenuHandler(RMenu &)

IMPORT_C CMenuHandler ( RMenu & aMenu ) [protected]
Constructor.
Since
S60 v5.0

Parameters

RMenu & aMenu Menu.

~CMenuHandler()

IMPORT_C ~CMenuHandler ( ) [virtual]
Destructor.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Member Functions Documentation

BaseConstructL()

IMPORT_C void BaseConstructL ( ) [protected]
Second phase constructor.
Since
S60 v5.0

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

IMPORT_C CMenuOperation * HandleCommandL ( CMenuItem & aItem,
const TDesC8 & aCommand,
const TDesC8 & aParams,
TRequestStatus & aStatus
) [virtual]
Handle command.
Since
S60 v5.0
capability
None.
Exceptions
This

implementation throws KErrNotSupported.

panic
None.

Parameters

CMenuItem & aItem Item of supported type.
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.

SupportsType(const TDesC &)

IMPORT_C TBool SupportsType ( const TDesC & aType ) [virtual]
Query support for item type.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Parameters

const TDesC & aType Type.

Member Data Documentation

TData * iData

TData * iData [private]

RMenu & iMenu

RMenu & iMenu [protected]