Add "ConnectionFailed" to Simulator status enum

Rename connectionChanged to statusChanged

refs #231
This commit is contained in:
Roland Winklmeier
2014-05-06 13:19:11 +02:00
committed by Roland Winklmeier
parent 7a69ad6ad9
commit 5498b449ac
5 changed files with 21 additions and 11 deletions

View File

@@ -69,7 +69,7 @@ namespace BlackSimPlugin
m_simconnectTimerId = startTimer(10);
m_isConnected = true;
emit connectionChanged(true);
emit statusChanged(Connected);
return true;
}
@@ -78,7 +78,7 @@ namespace BlackSimPlugin
if (!m_isConnected)
return true;
emit connectionChanged(false);
emit statusChanged(Disconnected);
if (m_hSimConnect)
SimConnect_Close(m_hSimConnect);