mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 09:15:34 +08:00
connection status improvement, now we also check the return value of ConnectAndLogon
refs #101
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user