MOptionMenuHandler Class Reference

API published in: S60 2nd Ed FP 2

Capability Information

Required Capabilities

DRM LocalServices NetworkControl NetworkServices ReadDeviceData ReadUserData SwEvent UserEnvironment WriteDeviceData WriteUserData

Exceptions


#include <pluginadapterinterface.h>

Detailed Description

Contains the ability for plug-ins to handle the menu option commands.

These methods are implemented in the plugin.


Public Member Functions

virtual void  AddPluginOptionMenuItemsL (CEikMenuPane &aMenuPane, TInt aCommandBase, TInt aAfter)=0
  AddPluginOptionMenuItemsL Add the Option Menu items to the menuPane, these will be handled by plugin.
virtual void  HandlePluginCommandL (TInt aCommandId)=0
  HandlePluginCommandL Handle the user command from the option menu to the plugin.

Member Function Documentation

virtual void MOptionMenuHandler::AddPluginOptionMenuItemsL CEikMenuPane aMenuPane,
TInt  aCommandBase,
TInt  aAfter
[pure virtual]
 

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

Parameters:
aMenuPane  handle of the menu that will contain the options
aCommandBase  base id that needs to be added to the command ID
aAfter  Plugin options should be added after this index
Returns:
void
virtual void MOptionMenuHandler::HandlePluginCommandL TInt  aCommandId  )  [pure virtual]
 

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

Parameters:
aCommandId  the command ID of the option
Returns:
void

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top