From 9f6cd30b34ffe68c5c1dd7994a7c7e96af2b3c73 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 16 Jan 2003 20:57:28 +0000 Subject: [PATCH] Updates to the net_gui code that can spit out updated flight information to the network which a gui might be interested in. --- src/Cockpit/radiostack.hxx | 1 + src/Network/native_gui.cxx | 78 +++++++++++++++++++++++++++++++------- src/Network/net_gui.hxx | 23 ++++++----- 3 files changed, 79 insertions(+), 23 deletions(-) diff --git a/src/Cockpit/radiostack.hxx b/src/Cockpit/radiostack.hxx index 10d59cf09..42093a4a6 100644 --- a/src/Cockpit/radiostack.hxx +++ b/src/Cockpit/radiostack.hxx @@ -67,6 +67,7 @@ public: // Update nav/adf radios based on current postition void search (); + inline FGDME *get_dme() { return &dme; } inline FGNavCom *get_navcom1() { return &navcom1; } inline FGNavCom *get_navcom2() { return &navcom2; } }; diff --git a/src/Network/native_gui.cxx b/src/Network/native_gui.cxx index 5dbcf9520..9471cc588 100644 --- a/src/Network/native_gui.cxx +++ b/src/Network/native_gui.cxx @@ -30,6 +30,7 @@ #include #include +#include #include #include