MOptionMenuHandler Class Reference

#include <mw/pluginadapterinterface.h>

class MOptionMenuHandler
Public Member Functions
pure virtual voidAddPluginOptionMenuItemsL(CEikMenuPane &, TInt, TInt)
pure virtual voidHandlePluginCommandL(TInt)

Detailed Description

Contains the ability for plug-ins to handle the menu option commands. These methods are implemented in the plugin.

library
Since
Series 60 3rd Edition

Member Function Documentation

AddPluginOptionMenuItemsL ( CEikMenuPane &, TInt, TInt )

voidAddPluginOptionMenuItemsL(CEikMenuPane &aMenuPane,
TIntaCommandBase,
TIntaAfter
)[pure virtual]

AddPluginOptionMenuItemsL Add the Option Menu items to the menuPane, these will be handled by plugin.

Since
3.1
Parameters
aMenuPanehandle of the menu that will contain the options
aCommandBasebase id that needs to be added to the command ID
aAfterPlugin options should be added after this index
Return Value
void

HandlePluginCommandL ( TInt )

voidHandlePluginCommandL(TIntaCommandId)[pure virtual]

HandlePluginCommandL Handle the user command from the option menu to the plugin.

Since
3.1
Parameters
aCommandIdthe command ID of the option
Return Value
void