]> git.mxchange.org Git - simgear.git/blobdiff - simgear/sound/xmlsound.hxx
Reset: allow re-init of Nasal Ghosts.
[simgear.git] / simgear / sound / xmlsound.hxx
index 95582aab12ca65cda2c5f8ec924653965c565464..34761df0e4733f3546073ecd1988283556527f5c 100644 (file)
 #ifndef _SG_SOUND_HXX
 #define _SG_SOUND_HXX 1
 
-#ifndef __cplusplus
-# error This library requires C++
-#endif
 
 #include <vector>
-
+#include <string>
+     
 #include <simgear/compiler.h>
 
 #include <simgear/props/propsfwd.hxx>
+#include <simgear/structure/SGSharedPtr.hxx>
 
-#include "sample_group.hxx"
-#include "sample_openal.hxx"
+// forward decls
+class SGSampleGroup;
+class SGSoundSample;
+class SGCondition;
+class SGPath;
 
 static const double MAX_TRANSIT_TIME = 0.1;    // 100 ms.
 
@@ -144,7 +146,7 @@ private:
   SGPropertyNode_ptr _property;
 
   bool _active;
-  string _name;
+  std::string _name;
   int _mode;
   double _prev_value;
   double _dt_play;