summaryrefslogtreecommitdiff
path: root/libs/revolution/src/homebuttonLib/nw4hbm/snd/StrmSoundHandle.h
blob: b7737b74a537a34bc6ef61ca5ccdb15eff86ca99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef NW4HBM_SND_STRM_SOUND_HANDLE_H
#define NW4HBM_SND_STRM_SOUND_HANDLE_H

#include <revolution/types.h>
#include "../ut/inlines.h"
#include "StrmSound.h"


namespace nw4hbm {
    namespace snd {

        class StrmSoundHandle : private ut::NonCopyable {
        public:
            ~StrmSoundHandle() { DetachSound(); }

            void DetachSound();

            bool IsAttachedSound() const { return mSound != NULL; }

        private:
            /* 0x00 */ detail::StrmSound* mSound;
        };

    }  // namespace snd
}  // namespace nw4hbm

#endif