The QServicePluginInterface class defines the interface that every plug-in based service must implement. More...
#include <QServicePluginInterface>
This class was introduced in Qt Mobility 1.0.
virtual QObject * | createInstance ( const QServiceInterfaceDescriptor & descriptor, QServiceContext * context, QAbstractSecuritySession * securitySession ) = 0 |
virtual void | installService () |
virtual void | uninstallService () |
The QServicePluginInterface class defines the interface that every plug-in based service must implement.
Creates a new instance of the service specified by descriptor. The service may use the given context and securitySession. context and securitySession object are owned by the client of the service.
This function returns a null pointer if the plug-in doesn't support the given descriptor.
This function was introduced in Qt Mobility 1.0.
This function is called by QServiceManager as part of the service registration process. It can be used to initialize the environment or the creation of external settings files which may be required during the execution of the service.
The default implementation for this function does nothing.
This function was introduced in Qt Mobility 1.0.
See also QServiceManager::addService().
This function is called bu QServiceManager as part of the deregistration process for services. This gives the service the possibility to perform cleanup operations such as the removal of setting files on the hard drive.
The default implementation for this function does nothing.
This function was introduced in Qt Mobility 1.0.
See also QServiceManager::removeService().