openmw-tes3coop/apps/openmw/mwsound/sound.hpp

25 lines
448 B
C++
Raw Normal View History

2012-03-17 09:45:18 +00:00
#ifndef GAME_SOUND_SOUND_H
#define GAME_SOUND_SOUND_H
namespace MWSound
{
class Sound
{
virtual void stop() = 0;
2012-03-17 09:45:18 +00:00
virtual bool isPlaying() = 0;
virtual void update(const float *pos) = 0;
2012-03-17 09:45:18 +00:00
Sound& operator=(const Sound &rhs);
Sound(const Sound &rhs);
2012-03-17 09:45:18 +00:00
public:
Sound() { }
2012-03-17 09:45:18 +00:00
virtual ~Sound() { }
friend class OpenAL_Output;
friend class SoundManager;
};
}
#endif