Implement getPluginInfoList() and extend getString().

This commit is contained in:
Gerhard Hoffmann 2023-11-16 08:47:03 +01:00
parent bdf2886aa4
commit 18c98abc5b

View File

@ -1071,12 +1071,12 @@ PLUGIN_STATE ATBDeviceControllerPlugin::getState()
return this->pluginState; return this->pluginState;
} }
QString ATBDeviceControllerPlugin::getLastError() QString const &ATBDeviceControllerPlugin::getLastError()
{ {
return this->errorCode; return this->errorCode;
} }
QString ATBDeviceControllerPlugin::getLastErrorDescription() QString const &ATBDeviceControllerPlugin::getLastErrorDescription()
{ {
return this->errorDescription; return this->errorDescription;
} }
@ -1086,8 +1086,13 @@ const QString & ATBDeviceControllerPlugin::getPluginInfo()
return this->pluginInfo; return this->pluginInfo;
} }
QStringList ATBDeviceControllerPlugin::getPluginInfoList() {
pluginInfoList.clear();
return pluginInfoList;
}
QString ATBDeviceControllerPlugin::getString(nsDeviceControllerInterface::RESULT_STATE resultState)
QString const &ATBDeviceControllerPlugin::getString(nsDeviceControllerInterface::RESULT_STATE resultState)
{ {
QString str; QString str;