]> git.mxchange.org Git - flightgear.git/commitdiff
Don't allow this subsystem to be suspended.
authordavid <david>
Sat, 1 Mar 2003 21:29:31 +0000 (21:29 +0000)
committerdavid <david>
Sat, 1 Mar 2003 21:29:31 +0000 (21:29 +0000)
src/Input/input.cxx
src/Input/input.hxx

index 03f90c2f972ecd6ebc00ba190530816b79b911f9..999cf12781630a8708e41e2ea0a26a7ee45d2766 100644 (file)
@@ -194,24 +194,30 @@ FGInput::init ()
   glutPassiveMotionFunc (GLUTmotion);
 }
 
+void 
+FGInput::update (double dt)
+{
+  _update_keyboard();
+  _update_joystick();
+  _update_mouse();
+}
+
 void
-FGInput::bind ()
+FGInput::suspend ()
 {
-  // no op
+    // NO-OP
 }
 
 void
-FGInput::unbind ()
+FGInput::resume ()
 {
-  // no op
+    // NO-OP
 }
 
-void 
-FGInput::update (double dt)
+bool
+FGInput::is_suspended () const
 {
-  _update_keyboard();
-  _update_joystick();
-  _update_mouse();
+    return false;
 }
 
 void
index 6730a3689a559c66d68a92288491eecb007f2de9..d8a4eae1311fc6eb0824fe25e669d55145f7da99 100644 (file)
@@ -194,9 +194,10 @@ public:
   // Implementation of FGSubsystem.
   //
   virtual void init ();
-  virtual void bind ();
-  virtual void unbind ();
   virtual void update (double dt);
+  virtual void suspend ();
+  virtual void resume ();
+  virtual bool is_suspended () const;
 
 
   /**