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().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.