Ref T659, login mode as string

This commit is contained in:
Klaus Basan
2019-08-06 20:10:28 +02:00
committed by Mat Sutcliffe
parent 23a44ced2a
commit daf927223a
3 changed files with 23 additions and 0 deletions

View File

@@ -254,6 +254,9 @@ namespace BlackCore
//! Login mode
virtual INetwork::LoginMode getLoginMode() const = 0;
//! Mode as string
const QString &getLoginModeAsString() const { return INetwork::modeAsString(this->getLoginMode()); }
//! Disconnect from network
//! \return messages generated during disconnecting
virtual BlackMisc::CStatusMessage disconnectFromNetwork() = 0;