]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.hxx
Interim windows build fix
[flightgear.git] / src / Sound / fg_fx.hxx
index a46d8583cd1dd54f1a3737ff1046beac936e7f06..798d07cef3288ebe09faded25e0f57376567aff6 100644 (file)
@@ -35,7 +35,7 @@
 class SGXmlSound;
 
 /**
- * Generator for FlightGear sound effects.
+ * Generator for FlightGear model sound effects.
  *
  * This module uses a FGSampleGroup class to generate sound effects based
  * on current flight conditions. The sound manager must be initialized
@@ -49,15 +49,17 @@ class FGFX : public SGSampleGroup
 
 public:
 
-    FGFX ( SGSoundMgr *smgr, const string &refname, SGPropertyNode *props = 0 );
+    FGFX ( const std::string &refname, SGPropertyNode *props = 0 );
     virtual ~FGFX ();
 
     virtual void init ();
     virtual void reinit ();
     virtual void update (double dt);
+            void unbind();
 
 private:
 
+    bool _is_aimodel;
     SGSharedPtr<SGSampleGroup> _avionics;
     std::vector<SGXmlSound *> _sound;