summaryrefslogtreecommitdiff
path: root/include/nw4r/snd/snd_SoundMemoryAllocatable.h
blob: 90fb8df36b18243b946558fdd3f5c48289c226e0 (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
28
29
30
31
32
33
34
#ifndef NW4R_SND_SOUND_MEMORY_ALLOCATABLE_H
#define NW4R_SND_SOUND_MEMORY_ALLOCATABLE_H

/*******************************************************************************
 * headers
 */

#include "common.h" // u32

/*******************************************************************************
 * classes and functions
 */

namespace nw4r { namespace snd
{
	// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x269c0
	class SoundMemoryAllocatable
	{
	// methods
	public:
		// cdtors
		virtual ~SoundMemoryAllocatable() {}

		// virtual function ordering
		// vtable SoundMemoryAllocatable
		virtual void *Alloc(u32 size) = 0;

	// members
	private:
		/* vtable */	// size 0x04, offset 0x00
	}; // size 0x04
}} // namespace nw4r::snd

#endif // NW4R_SND_SOUND_MEMORY_ALLOCATABLE_H