]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_props.hxx
Clean-up some SGMath dependencies.
[flightgear.git] / src / Main / fg_props.hxx
index 8f2e95f0f081def7f4caba1078a69718c8e52270..eb9af1dfe94c9388776e6fab88fd00c9820af23d 100644 (file)
@@ -9,7 +9,7 @@
 #include <iosfwd>
 
 #include <simgear/structure/subsystem_mgr.hxx>
-#include <simgear/math/SGMath.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
 
 #include <Main/globals.hxx>
 
@@ -27,6 +27,9 @@ public:
     void bind ();
     void unbind ();
     void update (double dt);
+
+private:
+    simgear::TiedPropertyList _tiedProperties;
 };
 
 
@@ -70,6 +73,8 @@ extern bool fgLoadFlight (std::istream &input);
 extern bool fgLoadProps (const char * path, SGPropertyNode * props,
                          bool in_fg_root = true, int default_mode = 0);
 
+void setLoggingClasses (const char * c);
+void setLoggingPriority (const char * p);
 
 \f
 ////////////////////////////////////////////////////////////////////////
@@ -420,7 +425,7 @@ extern const char * fgGetString (const char * name,
  * @return The property's value as a string, or the default value provided.
  */
 inline const char * fgGetString (const std::string & name,
-                                const std::string & defaultValue = string(""))
+                                 const std::string & defaultValue = std::string(""))
 {
     return fgGetString( name.c_str(), defaultValue.c_str() );
 }