mirror of
https://github.com/zeldaret/ss
synced 2026-06-21 16:16:44 -04:00
26 lines
634 B
C++
26 lines
634 B
C++
#ifndef NW4R_SND_DISPOSE_CALLBACK_MANAGER_H
|
|
#define NW4R_SND_DISPOSE_CALLBACK_MANAGER_H
|
|
#include "common.h"
|
|
#include "snd_DisposeCallback.h"
|
|
#include "ut_LinkList.h"
|
|
|
|
namespace nw4r {
|
|
namespace snd {
|
|
namespace detail {
|
|
struct DisposeCallbackManager {
|
|
static DisposeCallbackManager *GetInstance();
|
|
|
|
ut::LinkList<DisposeCallback, 0x0> mList; // at 0x0
|
|
|
|
UNKTYPE RegisterDisposeCallback(DisposeCallback *);
|
|
UNKTYPE UnregisterDisposeCallback(DisposeCallback *);
|
|
|
|
UNKTYPE Dispose(void *, u32, void *);
|
|
UNKTYPE DisposeWave(void *, u32, void *);
|
|
};
|
|
} // namespace detail
|
|
} // namespace snd
|
|
} // namespace nw4r
|
|
|
|
#endif
|