#ifndef __FG_PROPS_HXX
#define __FG_PROPS_HXX 1
-#include <simgear/debug/logstream.hxx>
-#include <simgear/props/props.hxx>
-#include <simgear/props/props_io.hxx>
-#include <simgear/structure/subsystem_mgr.hxx>
+#include <iosfwd>
-#include "globals.hxx"
+#include <simgear/structure/subsystem_mgr.hxx>
+#include <Main/globals.hxx>
\f
////////////////////////////////////////////////////////////////////////
// Property management.
* just the ones flagged as archivable.
* @return true if the flight was saved successfully.
*/
-extern bool fgSaveFlight (ostream &output, bool write_all = false);
+extern bool fgSaveFlight (std::ostream &output, bool write_all = false);
/**
* @param input The input stream to read the XML from.
* @return true if the flight was restored successfully.
*/
-extern bool fgLoadFlight (istream &input);
+extern bool fgLoadFlight (std::istream &input);
/**
if (node->getType() != SGPropertyNode::STRING)
return;
- char *s = (char *)node->getStringValue();
+ char *s = const_cast<char *>(node->getStringValue());
for (; *s; s++)
*s = toupper(*s);
}