Don't allow this subsystem to be suspended.
This commit is contained in:
parent
e1bb9b67f5
commit
af38fe4803
2 changed files with 21 additions and 14 deletions
|
@ -194,18 +194,6 @@ FGInput::init ()
|
||||||
glutPassiveMotionFunc (GLUTmotion);
|
glutPassiveMotionFunc (GLUTmotion);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
FGInput::bind ()
|
|
||||||
{
|
|
||||||
// no op
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
FGInput::unbind ()
|
|
||||||
{
|
|
||||||
// no op
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
FGInput::update (double dt)
|
FGInput::update (double dt)
|
||||||
{
|
{
|
||||||
|
@ -214,6 +202,24 @@ FGInput::update (double dt)
|
||||||
_update_mouse();
|
_update_mouse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
FGInput::suspend ()
|
||||||
|
{
|
||||||
|
// NO-OP
|
||||||
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
FGInput::resume ()
|
||||||
|
{
|
||||||
|
// NO-OP
|
||||||
|
}
|
||||||
|
|
||||||
|
bool
|
||||||
|
FGInput::is_suspended () const
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
FGInput::makeDefault (bool status)
|
FGInput::makeDefault (bool status)
|
||||||
{
|
{
|
||||||
|
|
|
@ -194,9 +194,10 @@ public:
|
||||||
// Implementation of FGSubsystem.
|
// Implementation of FGSubsystem.
|
||||||
//
|
//
|
||||||
virtual void init ();
|
virtual void init ();
|
||||||
virtual void bind ();
|
|
||||||
virtual void unbind ();
|
|
||||||
virtual void update (double dt);
|
virtual void update (double dt);
|
||||||
|
virtual void suspend ();
|
||||||
|
virtual void resume ();
|
||||||
|
virtual bool is_suspended () const;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue