Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
DisposeCallback.h
Go to the documentation of this file.
1#ifndef NW4HBM_SND_DISPOSE_CALLBACK_H
2#define NW4HBM_SND_DISPOSE_CALLBACK_H
3
4#include "../ut/LinkList.h"
5
6namespace nw4hbm {
7 namespace snd {
8 namespace detail {
9
10 // we want the vtable to get a unique name but function parameters need not to be unique
11 // so we use a dummy class for that and cast to `DisposeCallback` when needed
13
14 namespace {
15
16 class DisposeCallback : public DisposeCallbackBase {
17 public:
18 /* 0x00 */ ut::LinkListNode mDisposeLink;
19
20 /* 0x08 */ virtual ~DisposeCallback()
21#ifdef MAKE_DTOR_ZERO
22 = 0
23#endif
24 {};
25
26 /* 0x0C */ virtual void InvalidateData(const void* start, const void* end) = 0;
27 /* 0x10 */ virtual void InvalidateWaveData(const void* start,
28 const void* end) = 0;
29 };
30
31 } // namespace
32
33 typedef ut::LinkList<DisposeCallback, offsetof(DisposeCallback, mDisposeLink)>
35
36 } // namespace detail
37 } // namespace snd
38} // namespace nw4hbm
39
40#endif
ut::LinkListNode mDisposeLink
Definition DisposeCallback.h:18
Definition DisposeCallback.h:12
static void end(b_oh_class *i_this)
Definition d_a_b_oh.cpp:343
ut::LinkList< DisposeCallback, offsetof(DisposeCallback, mDisposeLink)> DisposeCallbackList
Definition DisposeCallback.h:34
Definition HBMAnmController.h:6
@ start
Definition strtold.c:23