From 0c8c8380b1037ca52725e4703cf87ffb6aee77eb Mon Sep 17 00:00:00 2001 From: jmt Date: Sat, 19 Sep 2009 18:41:55 +0000 Subject: [PATCH] Break viewmgr.hxx dependency on on viewer.hxx. --- src/Cockpit/cockpit.cxx | 1 + src/Cockpit/hud.cxx | 1 + src/Cockpit/hud_ladr.cxx | 2 +- src/Cockpit/hud_rwy.cxx | 1 + src/Cockpit/panel.cxx | 1 + src/Instrumentation/HUD/HUD.cxx | 1 + src/Main/fg_commands.cxx | 1 + src/Main/main.cxx | 2 +- src/Main/options.cxx | 2 +- src/Main/renderer.cxx | 1 + src/Main/viewmgr.cxx | 58 +++++++++++++++++++++++++++++++++ src/Main/viewmgr.hxx | 49 +++++++--------------------- 12 files changed, 79 insertions(+), 41 deletions(-) diff --git a/src/Cockpit/cockpit.cxx b/src/Cockpit/cockpit.cxx index 4e7651f7c..0414a0f6a 100644 --- a/src/Cockpit/cockpit.cxx +++ b/src/Cockpit/cockpit.cxx @@ -44,6 +44,7 @@ #include
#include
#include
+#include
#include #include diff --git a/src/Cockpit/hud.cxx b/src/Cockpit/hud.cxx index f9b9f3a97..6673184e4 100644 --- a/src/Cockpit/hud.cxx +++ b/src/Cockpit/hud.cxx @@ -48,6 +48,7 @@ #include
#include #include +#include
#include "hud.hxx" diff --git a/src/Cockpit/hud_ladr.cxx b/src/Cockpit/hud_ladr.cxx index e2306b427..38def8d9d 100644 --- a/src/Cockpit/hud_ladr.cxx +++ b/src/Cockpit/hud_ladr.cxx @@ -6,7 +6,7 @@ #include "hud.hxx" #include "panel.hxx" - +#include
// FIXME extern float get_roll(void); diff --git a/src/Cockpit/hud_rwy.cxx b/src/Cockpit/hud_rwy.cxx index d4b56356b..2bc15bcd1 100644 --- a/src/Cockpit/hud_rwy.cxx +++ b/src/Cockpit/hud_rwy.cxx @@ -31,6 +31,7 @@ #include #include #include +#include
#include diff --git a/src/Cockpit/panel.cxx b/src/Cockpit/panel.cxx index cd68b342a..43711d529 100644 --- a/src/Cockpit/panel.cxx +++ b/src/Cockpit/panel.cxx @@ -55,6 +55,7 @@ #include
#include