Some fixes / tweaks / Doxygen:

* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
This commit is contained in:
Klaus Basan
2014-06-25 18:59:21 +02:00
parent 378712592e
commit abd2d6d86d
11 changed files with 89 additions and 26 deletions

View File

@@ -125,6 +125,16 @@ namespace BlackCore
return status == Disconnecting || status == Connecting;
}
/*!
* Returns true if the given ConnectionStatus represents a disconnected state.
*/
static bool isDisconnectedStatus(ConnectionStatus status)
{
return status == Disconnected || status == DisconnectedError ||
status == DisconnectedFailed || status == DisconnectedLost;
}
/*!
* Returns true if the current ConnectionStatus is a connected state.
*/