RMenuNotifier Class Reference

class RMenuNotifier : public RSubSessionBase
Menu change notifier. mcsmenu.lib
Since
S60 v5.0

Inherits from

Constructor & Destructor Documentation

RMenuNotifier()

RMenuNotifier()[inline]
Constructor.
Since
S60 v5.0
capability
None.
Exceptions
None.

panic
None.

Member Functions Documentation

Cancel()

IMPORT_C voidCancel()
Cancel notification request.
Since
S60 v5.0
capability
ECapabilityReadDeviceData.
Exceptions
None.

panic
None.

Close()

IMPORT_C voidClose()
Close the notifier. Safe to call if not open. Outstanding request, if any, is cancelled.
Since
S60 v5.0
capability
ECapabilityReadDeviceData.
Exceptions
None.

panic
None.

Notify(TInt, TInt, TRequestStatus &)

IMPORT_C voidNotify(TIntaFolder,
TIntaEvents,
TRequestStatus &aStatus
)
Request notification of menu events occurring in specified folder.
Since
S60 v5.0
capability
ECapabilityReadDeviceData.
Exceptions
None.

panic
None.

Parameters

TInt aFolderFolder to observe. Pass 0 to observe all folders (the whole menu).
TInt aEventsEvents to be notified about. A combination of TEvent bits.
TRequestStatus & aStatusCompletes when menu events occur in the specified folder, or on error. Completion value is error code (if negative), or a combination of events specified in aEvents (if positive). Note, more than one event bit can be set.

Open(RMenu &)

IMPORT_C TIntOpen(RMenu &aMenu)
Open the notifier.
Since
S60 v5.0
capability
ECapabilityReadDeviceData.
Exceptions
System-wide

error codes if an error occurs.

panic
None.

Parameters

RMenu & aMenuMenu.

Member Enumerations Documentation

Enum TEvent

Enumerators

EItemsNone = 0
EItemsAddedRemoved = 0x1
EItemsReordered = 0x2
EItemAttributeChanged = 0x4

Member Data Documentation

TData * iData

TData *iData[private]