MPluginAdapter Class Reference

#include <mw/pluginadapterinterface.h>

Link against: PluginAdapterUtil in Series 80 Platforms and the Nokia 7710 smartphone

class MPluginAdapter
Public Member Functions
pure virtual CCoeControl *GetParentControl()
pure virtual MCoeControlObserver *GetParentControlObserver()
pure virtual TUint16 GetVersion()
pure virtual voidPluginConstructedL(CCoeControl *)
pure virtual voidPluginFinishedL()
virtual voidSetOptionMenuHandler(MOptionMenuHandler *)
pure virtual voidSetPluginNotifier(MPluginNotifier *)

Detailed Description

The plug-in can use this interface to communicate with the browser.

Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone

Member Function Documentation

GetParentControl ( )

CCoeControl *GetParentControl()[pure virtual]
Returns the window system level control object for the plug-in.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Return Value
A pointer to the parent control window.

GetParentControlObserver ( )

MCoeControlObserver *GetParentControlObserver()[pure virtual]
Returns the observer for the plug-in control.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Return Value
Observer that the plug-in can use to send events to the browser.

GetVersion ( )

TUint16 GetVersion()[pure virtual]
Gets the pointer to the minor version number of the plug-in version number of the Browser Plug-in API.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Return Value
Series 60 returns 1. Series 80 and the Nokia 7710 smartphone return 101.

PluginConstructedL ( CCoeControl * )

voidPluginConstructedL(CCoeControl *aPluginControl)[pure virtual]
Called when the plug-in has completed its creation. This function is called from the constructL function of the plug-in.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Parameters
aPluginControlA pointer to the plug-in control window
Return Value
None

PluginFinishedL ( )

voidPluginFinishedL()[pure virtual]
Called after the plug-in has been deleted. This function is called from the destructor of the plug-in.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Return Value
None

SetOptionMenuHandler ( MOptionMenuHandler * )

voidSetOptionMenuHandler(MOptionMenuHandler *)[inline, virtual]
Sets the plug-in option menu handler allowing the plug-in to handle the custom menu commands from the browser.
Since
Series 60 3nd Edition
Return Value
None

SetPluginNotifier ( MPluginNotifier * )

voidSetPluginNotifier(MPluginNotifier *aNotifier)[pure virtual]
Sets the plug-in notifier allowing the plug-in to control portions of the browser.
Since
Series 60 2nd Edition, Feature Pack 2 and Series 80 Platforms and the Nokia 7710 smartphone
Parameters
aNotifierPointer to an interface that the browser can use to send events to the plug-in.
Return Value
None