removed setPluginInfo()

This commit is contained in:
Gerhard Hoffmann 2023-11-15 11:00:19 +01:00
parent 444b2f09e3
commit 83e282b7fc

View File

@ -22,6 +22,16 @@ ATBVMCPlugin::ATBVMCPlugin(QObject *parent)
, m_useDebug(false) , m_useDebug(false)
, m_pluginState(PLUGIN_STATE::NOT_INITIALIZED) , m_pluginState(PLUGIN_STATE::NOT_INITIALIZED)
, m_vmc(nullptr) { , m_vmc(nullptr) {
QStringList lst;
lst << QString(" Interface: ") + INTERFACE;
lst << QString("Interface Version: ") + INTERFACE_VERSION;
lst << QString(" PluginName: ") + PLUGIN_NAME;
lst << QString(" Version: ") + PLUGIN_VERSION;
lst << QString(" git-describe: ") + PLUGIN_GIT_DESCRIBE;
lst << QString(" Extended version: ") + PLUGIN_EXTENDED_VERSION;
m_pluginInfo = lst.join('\n');
} }
ATBVMCPlugin::~ATBVMCPlugin() { ATBVMCPlugin::~ATBVMCPlugin() {
@ -35,20 +45,6 @@ QString const &ATBVMCPlugin::getPluginInfo() {
return m_pluginInfo; return m_pluginInfo;
} }
void ATBVMCPlugin::setPluginInfo(QString const &info) {
Q_UNUSED(info);
QStringList lst;
lst << QString(" Interface: ") + INTERFACE;
lst << QString(" Interface Version: ") + INTERFACE_VERSION;
lst << QString(" Plugin name: ") + PLUGIN_NAME;
lst << QString(" Plugin version: ") + PLUGIN_VERSION;
lst << QString("Plugin extended version: ") + PLUGIN_EXTENDED_VERSION;
m_pluginInfo = lst.join('\n');
}
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// interface: // interface:
PLUGIN_STATE ATBVMCPlugin::initVMCPlugin(QObject *appControl, PLUGIN_STATE ATBVMCPlugin::initVMCPlugin(QObject *appControl,