X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FMain%2Ffg_props.hxx;h=023d4dbbff4c1f42db65f3f935b5e01c832c7b0b;hb=a704a6208131cad4f12123a72acdb1fb3dc6658f;hp=756ac763b349d48dddd01441f64c5b6137927e1a;hpb=3f3755fda27e40596d5e418ade89091aee7f00bc;p=flightgear.git diff --git a/src/Main/fg_props.hxx b/src/Main/fg_props.hxx index 756ac763b..023d4dbbf 100644 --- a/src/Main/fg_props.hxx +++ b/src/Main/fg_props.hxx @@ -9,7 +9,7 @@ #include #include -#include +#include #include
@@ -27,6 +27,9 @@ public: void bind (); void unbind (); void update (double dt); + +private: + simgear::TiedPropertyList _tiedProperties; }; @@ -296,7 +299,7 @@ inline int fgGetInt (const std::string & name, int defaultValue = 0) * 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. @@ -312,7 +315,7 @@ extern int fgGetLong (const char * name, long defaultValue = 0L); * 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 ); }