connection status improvement, now we also check the return value of ConnectAndLogon

refs #101
This commit is contained in:
Mathew Sutcliffe
2014-01-19 03:09:39 +00:00
parent 0af8c9eb3e
commit ff3010931f
3 changed files with 54 additions and 23 deletions

View File

@@ -89,6 +89,11 @@ namespace BlackCore
return metaEnum.valueToKey(status);
}
static bool isErrorStatus(ConnectionStatus status)
{
return status == DisconnectedError;
}
virtual bool isConnected() const = 0;
public slots: