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

#include "Channel.h"
#include "InstanceManager.h"
#include "snd_types.h"

namespace nw4hbm {
    namespace snd {
        namespace detail {
            class ChannelManager : public InstanceManager<Channel, 0> {
            public:
                static ChannelManager& GetInstance() {
                    static ChannelManager instance;
                    return instance;
                }
                ChannelManager() {}
            };
        }  // namespace detail
    }  // namespace snd
}  // namespace nw4hbm

#endif