mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
25 lines
400 B
C++
25 lines
400 B
C++
#ifndef GAME_SOUND_SOUND_H
|
|
#define GAME_SOUND_SOUND_H
|
|
|
|
#include <string>
|
|
|
|
#include "../mwworld/ptr.hpp"
|
|
|
|
namespace MWSound
|
|
{
|
|
class Sound
|
|
{
|
|
virtual void Stop() = 0;
|
|
virtual bool isPlaying() = 0;
|
|
virtual void Update(const float *pos) = 0;
|
|
|
|
public:
|
|
virtual ~Sound() { }
|
|
|
|
friend class OpenAL_Output;
|
|
friend class SoundManager;
|
|
};
|
|
}
|
|
|
|
#endif
|