|
|
@ -24,6 +24,8 @@
|
|
|
|
#include <QtCore/QPluginLoader>
|
|
|
|
#include <QtCore/QPluginLoader>
|
|
|
|
#include <QtCore/QCoreApplication>
|
|
|
|
#include <QtCore/QCoreApplication>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#include "nel/misc/app_context.h"
|
|
|
|
|
|
|
|
|
|
|
|
#include "iplugin.h"
|
|
|
|
#include "iplugin.h"
|
|
|
|
#include "iplugin_manager.h"
|
|
|
|
#include "iplugin_manager.h"
|
|
|
|
|
|
|
|
|
|
|
@ -146,6 +148,8 @@ bool CPluginSpec::loadLibrary()
|
|
|
|
return reportError(QCoreApplication::translate("CPluginSpec", "Plugin is not valid (does not derive from IPlugin)"));
|
|
|
|
return reportError(QCoreApplication::translate("CPluginSpec", "Plugin is not valid (does not derive from IPlugin)"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pluginObject->setNelContext(&NLMISC::INelContext::getInstance());
|
|
|
|
|
|
|
|
|
|
|
|
_name = pluginObject->name();
|
|
|
|
_name = pluginObject->name();
|
|
|
|
_version = pluginObject->version();
|
|
|
|
_version = pluginObject->version();
|
|
|
|
_vendor = pluginObject->vendor();
|
|
|
|
_vendor = pluginObject->vendor();
|
|
|
|