45 QMap<QString, QString> plugins;
47 for (QList<PluginDescriptor*>::iterator it = descriptors.begin(); it != descriptors.end(); it++)
51 QMap<QString, QString> plugin = descriptor->
toDictionary();
52 plugins.unite(plugin);
60 return QList<PluginDescriptor*>();
virtual void unload(void *plugin_instance)
virtual QList< PluginDescriptor * > discover_descriptors(QObject *discovery_data)
virtual ~PluginProvider()
virtual QMap< QString, QString > discover(QObject *discovery_data)
virtual void * load(const QString &plugin_id, PluginContext *plugin_context)
virtual Plugin * load_plugin(const QString &plugin_id, PluginContext *plugin_context)
QMap< QString, QString > toDictionary() const
virtual void unload_plugin(Plugin *plugin_instance)