openmw-tes3coop/apps/openmw/mwsound/sound_output.hpp
2012-03-16 23:40:07 -07:00

26 lines
492 B
C++

#ifndef GAME_SOUND_SOUND_OUTPUT_H
#define GAME_SOUND_SOUND_OUTPUT_H
#include <string>
namespace MWSound
{
class SoundManager;
class Sound_Output
{
SoundManager &mgr;
virtual bool Initialize(const std::string &devname="") = 0;
virtual void Deinitialize() = 0;
Sound_Output(SoundManager &mgr) : mgr(mgr) { }
public:
virtual ~Sound_Output() { }
friend class OpenAL_Output;
friend class SoundManager;
};
}
#endif