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

@@ -63,14 +63,14 @@ namespace BlackMisc
/*
* Set cockpit data
*/
void CAircraft::setCockpit(const CComSystem &com1, const CComSystem &com2, qint32 transponderCode)
void CAircraft::setCockpit(const CComSystem &com1, const CComSystem &com2, int transponderCode, CTransponder::TransponderMode transponderMode)
{
this->setCom1System(com1);
this->setCom2System(com2);
this->m_transponder.setTransponderCode(transponderCode);
this->m_transponder.setTransponderMode(transponderMode);
}
/*
* Changed data
*/