Home · All Classes · Main Classes · Deprecated
Public Member Functions

MApplicationExtensionInterface Class Reference

MApplicationExtensionInterface is the base class for application extension entrypoint classes. More...

Inherited by MAppletInstallationSourceInterface.

List of all members.

Public Member Functions

virtual ~MApplicationExtensionInterface ()
virtual bool initialize (const QString &interface)=0
virtual QGraphicsWidgetwidget ()

Detailed Description

MApplicationExtensionInterface is the base class for application extension entrypoint classes.

Application developers who want to provide application extension support need to derive their application specific extension interface from this interface if they need some application specific functionality to be implemented by the extensions.

Application extension developers need to implement the interface derived from this interface in their application extension binary and export their implementation from the binary. The host application will maintain an inventory of available extensions and instantiate them using this interface when needed.

See also:
Developing application extensions

Constructor & Destructor Documentation

virtual MApplicationExtensionInterface::~MApplicationExtensionInterface (  )  [inline, virtual]

Destructor.


Member Function Documentation

virtual bool MApplicationExtensionInterface::initialize ( const QString interface  )  [pure virtual]

This method is called to initialize the application extension.

Parameters:
interface the name of the interface being initialized. The extension can but does not need to use this information for anything.
Returns:
true if the initialization succeeded, false otherwise.
virtual QGraphicsWidget* MApplicationExtensionInterface::widget (  )  [inline, virtual]

Returns a widget representing the application extension (if any).

The extension will retain ownership of the widget.

Returns:
a pointer to the extension's widget or NULL if the extension does not have a widget.

Copyright © 2010 Nokia Corporation
MeeGo Touch