#include <Navaids/ilslist.hxx>
#include <Navaids/navlist.hxx>
-#include <Sound/beacon.hxx>
#include <Sound/morse.hxx>
class FGNavCom : public FGSubsystem
{
- FGBeacon beacon;
FGMorse morse;
SGInterpTable *term_tbl;
SGPropertyNode *lon_node;
SGPropertyNode *lat_node;
SGPropertyNode *alt_node;
+ SGPropertyNode *bus_power;
string last_nav_id;
bool last_nav_vor;
inline void set_nav_ident_btn( bool val ) { nav_ident_btn = val; }
// NavCom Accessors
+ inline bool has_power() const {
+ return power_btn && (bus_power->getDoubleValue() > 1.0);
+ }
inline bool get_power_btn() const { return power_btn; }
// COMM Accessors