#include <iosfwd>
#include <simgear/structure/subsystem_mgr.hxx>
-#include <simgear/math/SGMath.hxx>
+#include <simgear/props/tiedpropertylist.hxx>
#include <Main/globals.hxx>
void bind ();
void unbind ();
void update (double dt);
+
+private:
+ simgear::TiedPropertyList _tiedProperties;
+
+ static const char* getLatitudeString ();
+ static const char* getLongitudeString ();
+
+ static SGConstPropertyNode_ptr _longDeg, _latDeg, _lonLatformat;
+
+ SGPropertyNode_ptr _offset;
+ SGPropertyNode_ptr _uyear, _umonth, _uday, _uhour, _umin, _usec, _uwday, _udsec;
+ SGPropertyNode_ptr _ryear, _rmonth, _rday, _rhour, _rmin, _rsec, _rwday, _rdsec;
};
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
////////////////////////////////////////////////////////////////////////
* does not exist.
* @return The property's value as a long, or the default value provided.
*/
-extern int fgGetLong (const char * name, long defaultValue = 0L);
+extern long fgGetLong (const char * name, long defaultValue = 0L);
/**
* Get a long value for a property.
* does not exist.
* @return The property's value as a long, or the default value provided.
*/
-inline int fgGetLong (const std::string & name, long defaultValue = 0L)
+inline long fgGetLong (const std::string & name, long defaultValue = 0L)
{
return fgGetLong( name.c_str(), defaultValue );
}
* @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() );
}