mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 10:15:38 +08:00
Ref T422, functions to toggle/set XPDR mode
This commit is contained in:
@@ -136,6 +136,16 @@ namespace BlackCore
|
||||
this->m_dBusInterface->callDBus(QLatin1String("enableAutomaticVoiceRoomResolution"), enable);
|
||||
}
|
||||
|
||||
void CContextOwnAircraftProxy::toggleTransponderMode()
|
||||
{
|
||||
this->m_dBusInterface->callDBus(QLatin1String("toggleTransponderMode"));
|
||||
}
|
||||
|
||||
bool CContextOwnAircraftProxy::setTransponderMode(CTransponder::TransponderMode mode)
|
||||
{
|
||||
return this->m_dBusInterface->callDBusRet<bool>(QLatin1String("setTransponderMode"), mode);
|
||||
}
|
||||
|
||||
bool CContextOwnAircraftProxy::parseCommandLine(const QString &commandLine, const CIdentifier &originator)
|
||||
{
|
||||
return this->m_dBusInterface->callDBusRet<bool>(QLatin1String("parseCommandLine"), commandLine, originator);
|
||||
|
||||
Reference in New Issue
Block a user