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

@@ -101,6 +101,7 @@ namespace BlackCore
QByteArray toFSD(const BlackMisc::Aviation::CCallsign &callsign) const;
QString fromFSD(const char *cstr) const;
void initializeSession();
void changeConnectionStatus(Cvatlib_Network::connStatus newStatus);
bool isDisconnected() const { return m_status != Cvatlib_Network::connStatus_Connecting && m_status != Cvatlib_Network::connStatus_Connected; }
private slots: