X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInput%2FFGButton.cxx;h=400de289e8f805bfd6d2942e1d67a8c425aed5a9;hb=76020894600c4d20f958f3d402419dc0fce78b74;hp=ee5953aca5ca83488849e64aef80b9bcb73a3564;hpb=aea9c750f3f839817f8dcbdd7bc6bb4f81b97836;p=flightgear.git diff --git a/src/Input/FGButton.cxx b/src/Input/FGButton.cxx index ee5953aca..400de289e 100644 --- a/src/Input/FGButton.cxx +++ b/src/Input/FGButton.cxx @@ -22,11 +22,18 @@ // // $Id$ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "FGButton.hxx" + FGButton::FGButton () : is_repeatable(false), interval_sec(0), + delay_sec(0), + release_delay_sec(0), last_dt(0), last_state(0) { @@ -39,7 +46,7 @@ FGButton::~FGButton () } -void FGButton::init( const SGPropertyNode * node, const string name, string & module ) +void FGButton::init( const SGPropertyNode * node, const std::string & name, std::string & module ) { if (node == 0) { SG_LOG(SG_INPUT, SG_DEBUG, "No bindings for button " << name);