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;
|
return this->pluginState;
|
||||||
}
|
}
|
||||||
|
|
||||||
quint32 ATBDeviceControllerPlugin::getLastError()
|
QString & ATBDeviceControllerPlugin::getLastError()
|
||||||
{
|
{
|
||||||
return this->errorCode;
|
return this->errorCode;
|
||||||
}
|
}
|
||||||
|
@ -51,7 +51,7 @@ public:
|
|||||||
|
|
||||||
// mandantory ATBAPP plugin methods: ------------------------------------------
|
// mandantory ATBAPP plugin methods: ------------------------------------------
|
||||||
nsDeviceControllerInterface::PLUGIN_STATE getState();
|
nsDeviceControllerInterface::PLUGIN_STATE getState();
|
||||||
quint32 getLastError();
|
QString & getLastError();
|
||||||
const QString & getLastErrorDescription();
|
const QString & getLastErrorDescription();
|
||||||
|
|
||||||
const QString & getPluginInfo();
|
const QString & getPluginInfo();
|
||||||
@ -89,8 +89,7 @@ signals:
|
|||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
quint32 errorCode;
|
QString errorCode;
|
||||||
QString errorCodeString;
|
|
||||||
QString errorDescription;
|
QString errorDescription;
|
||||||
QString pluginInfo;
|
QString pluginInfo;
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ public:
|
|||||||
|
|
||||||
// mandantory ATBAPP plugin methods:
|
// mandantory ATBAPP plugin methods:
|
||||||
virtual nsDeviceControllerInterface::PLUGIN_STATE getState() = 0;
|
virtual nsDeviceControllerInterface::PLUGIN_STATE getState() = 0;
|
||||||
virtual quint32 getLastError() = 0;
|
virtual const QString & getLastError() = 0;
|
||||||
virtual const QString & getLastErrorDescription() = 0;
|
virtual const QString & getLastErrorDescription() = 0;
|
||||||
|
|
||||||
// return a plugin description in JSON or XML
|
// return a plugin description in JSON or XML
|
||||||
|
Loading…
Reference in New Issue
Block a user