mirror of
https://github.com/zeldaret/ss
synced 2026-07-05 13:03:35 -04:00
732a119127
* snd / math / g3d
32 lines
509 B
C++
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
|