refs #349, some convenience functions

This commit is contained in:
Klaus Basan
2014-12-02 23:30:25 +01:00
parent 78e4900243
commit 927a533040
4 changed files with 37 additions and 3 deletions

View File

@@ -88,6 +88,15 @@ namespace BlackMisc
return modeAsString(this->getTransponderMode());
}
//! In any sending mode such as MIL1 oder ModeS
bool isInNormalSendingMode() const;
//! Standby?
bool isInStandby() const { return StateStandby == m_transponderMode; }
//! Standby?
bool isIdentifying() const { return StateIdent == m_transponderMode; }
//! Transponder mode as string
void setModeAsString(const QString &mode)
{