The QLandmarkManagerEngineFactory class provides the interface for plugins that implement QLandmarkManagerEngine functionality. More...
#include <QLandmarkManagerEngineFactory>
This class was introduced in Qt Mobility 1.1.
virtual | ~QLandmarkManagerEngineFactory () |
virtual QLandmarkManagerEngine * | engine ( const QMap<QString, QString> & parameters, QLandmarkManager::Error * error, QString * errorString ) = 0 |
virtual QString | managerName () const = 0 |
virtual QList<int> | supportedImplementationVersions () const |
The QLandmarkManagerEngineFactory class provides the interface for plugins that implement QLandmarkManagerEngine functionality.
This class provides a simple interface for the creation of landmark manager engine instances. Each factory has a specific id associated with it, which forms the managerName parameter when creating QLandmarkManager objects.
See also QLandmarkManager and QLandmarkManagerEngine.
Destroys the engine factory.
This function is called by the QLandmarkManager implementation to create an instance of the engine provided by this factory.
The parameters supplied can be ignored or interpreted as desired.
If a supplied parameter results in an unfulfillable request, or some other error occurs, this function may return a null pointer, and the client developer will get an invalid QLandmarkManager in return. Errors are stored in error and errorString.
This function was introduced in Qt Mobility 1.1.
This function returns a unique string that identifies the engine provided by this factory.
Typically this would be of the form "com.nokia.qt.landmarks.engines.sqlite", with the appropriate domain and engine name substituted.
This function was introduced in Qt Mobility 1.1.
This function returns a list of versions of the engine which this factory can instantiate.