mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-29 12:45:40 +08:00
refs #335, SELCAL tweaks discovered during refactoring
* better case handling in SELCAL * SELCAL in aircraft * SELCAL selector, improved getter / setters * changed cockpit SELCAL elements to promoted GUI element * synchronized flightplan and cockpit SELCAL codes, used new signal/slot syntacs in flightplan * added SELCAL in own aircraft context
This commit is contained in:
committed by
Roland Winklmeier
parent
dd587207fe
commit
0c6f5f1777
@@ -16,6 +16,7 @@
|
||||
#include "blackmisc/avaircraft.h"
|
||||
#include "blackmisc/avatcstation.h"
|
||||
#include "blackmisc/voiceroomlist.h"
|
||||
#include "blackmisc/avselcal.h"
|
||||
|
||||
//! \addtogroup dbus
|
||||
//! @{
|
||||
@@ -79,6 +80,10 @@ namespace BlackCore
|
||||
//! \remarks DBus and local
|
||||
void changedAircraftCockpit(const BlackMisc::Aviation::CAircraft &aircraft, const QString &originator);
|
||||
|
||||
//! Changed SELCAL code
|
||||
//! \remarks DBus and local
|
||||
void changedSelcal(const BlackMisc::Aviation::CSelcal &selcal, const QString &originator);
|
||||
|
||||
public slots:
|
||||
|
||||
//! Get own aircraft
|
||||
@@ -99,6 +104,9 @@ namespace BlackCore
|
||||
//! Set current pilot
|
||||
virtual bool updatePilot(const BlackMisc::Network::CUser &pilot, const QString &originator) = 0;
|
||||
|
||||
//! Own SELCAL code
|
||||
virtual bool updateSelcal(const BlackMisc::Aviation::CSelcal &selcal, const QString &originator) = 0;
|
||||
|
||||
//! Output volumes, volumes 0..100
|
||||
virtual void setAudioOutputVolumes(int outputVolumeCom1, int outputVolumeCom2) = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user