Home · All Classes · Main Classes · Deprecated |
MApplicationExtensionInterface is the base class for application extension entrypoint classes. More...
Inherited by MAppletInstallationSourceInterface.
Public Member Functions | |
virtual | ~MApplicationExtensionInterface () |
virtual bool | initialize (const QString &interface)=0 |
virtual QGraphicsWidget * | widget () |
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.
virtual MApplicationExtensionInterface::~MApplicationExtensionInterface | ( | ) | [inline, virtual] |
Destructor.
virtual bool MApplicationExtensionInterface::initialize | ( | const QString & | interface | ) | [pure virtual] |
This method is called to initialize the application extension.
interface | the name of the interface being initialized. The extension can but does not need to use this information for anything. |
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.
Copyright © 2010 Nokia Corporation | MeeGo Touch |