explicit OfxhPluginBinary( const std::string& file, const std::string& bundlePath, OfxhPluginCache* cache )
		: _binary( file )
		, _filePath( file )
		, _bundlePath( bundlePath )
		, _binaryChanged( false )
	{
		loadPluginInfo( cache );
	}
Beispiel #2
0
void PluginManager::load(const QList<QString>& pluginDirectories) {
    foreach (const QString& pluginDirectory, pluginDirectories) {
        PluginInfo* info = loadPluginInfo(pluginDirectory);
        if (info != NULL) {
            pluginInfos_.append(info);
            qDebug() << "loaded plugin: " << info->name;
        }
    }