]> git.mxchange.org Git - flightgear.git/blobdiff - src/Sound/fg_fx.hxx
make --enable-osgviewer the default
[flightgear.git] / src / Sound / fg_fx.hxx
index 08d690c884009f7355b2a66a335d50b3b9df4404..0fd4a2ff2bdfbe880f42cc236729c91dff120d49 100644 (file)
 //
 // You should have received a copy of the GNU General Public License
 // along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 //
 // $Id$
 
 #ifndef __FGFX_HXX
 #define __FGFX_HXX 1
 
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
 #include <simgear/compiler.h>
 
 #include <queue>
@@ -76,7 +72,7 @@ public:
      * in order.
      */
     void play_message( SGSoundSample *_sample );
-    void play_message( const string path, const string fname );
+    void play_message( const string path, const string fname, double volume );
 
 private:
 
@@ -86,8 +82,8 @@ private:
     bool last_pause;
     double last_volume;
 
-    SGPropertyNode *_pause;
-    SGPropertyNode *_volume;
+    SGPropertyNode_ptr _pause;
+    SGPropertyNode_ptr _volume;
 
 };