DeviceControllerInterface: erroCode is a string
This commit is contained in:
parent
c6574280ac
commit
8ff17a2e00
@ -74,7 +74,7 @@ PLUGIN_STATE ATBDeviceControllerPlugin::getState()
|
||||
return this->pluginState;
|
||||
}
|
||||
|
||||
quint32 ATBDeviceControllerPlugin::getLastError()
|
||||
QString & ATBDeviceControllerPlugin::getLastError()
|
||||
{
|
||||
return this->errorCode;
|
||||
}
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
|
||||
// mandantory ATBAPP plugin methods: ------------------------------------------
|
||||
nsDeviceControllerInterface::PLUGIN_STATE getState();
|
||||
quint32 getLastError();
|
||||
QString & getLastError();
|
||||
const QString & getLastErrorDescription();
|
||||
|
||||
const QString & getPluginInfo();
|
||||
@ -89,8 +89,7 @@ signals:
|
||||
|
||||
|
||||
private:
|
||||
quint32 errorCode;
|
||||
QString errorCodeString;
|
||||
QString errorCode;
|
||||
QString errorDescription;
|
||||
QString pluginInfo;
|
||||
|
||||
|
@ -52,7 +52,7 @@ public:
|
||||
|
||||
// mandantory ATBAPP plugin methods:
|
||||
virtual nsDeviceControllerInterface::PLUGIN_STATE getState() = 0;
|
||||
virtual quint32 getLastError() = 0;
|
||||
virtual const QString & getLastError() = 0;
|
||||
virtual const QString & getLastErrorDescription() = 0;
|
||||
|
||||
// return a plugin description in JSON or XML
|
||||
|
Loading…
Reference in New Issue
Block a user