Files
ss/include/nw4r/snd/snd_WaveSoundHandle.h
T
Elijah Thomas 732a119127 Nw4r splits (#28)
* snd / math / g3d
2024-09-15 14:55:25 -04:00

32 lines
509 B
C++

#ifndef NW4R_SND_WAVE_SOUND_HANDLE_H
#define NW4R_SND_WAVE_SOUND_HANDLE_H
#include <nw4r/types_nw4r.h>
#include <nw4r/snd/snd_WaveSound.h>
#include <nw4r/ut.h>
namespace nw4r {
namespace snd {
class WaveSoundHandle : private ut::NonCopyable {
public:
~WaveSoundHandle() {
DetachSound();
}
void DetachSound();
bool IsAttachedSound() const {
return mSound != NULL;
}
private:
detail::WaveSound* mSound; // at 0x0
};
} // namespace snd
} // namespace nw4r
#endif