NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
snd_McsSoundArchive.h
1#ifndef NW4R_SND_MCS_SOUND_ARCHIVE_H
2#define NW4R_SND_MCS_SOUND_ARCHIVE_H
3
4/*******************************************************************************
5 * headers
6 */
7
8#include <types.h>
9
10#include "SoundArchive.h"
11
12#include "nw4r/ut/ut_FileStream.h"
13
14/*******************************************************************************
15 * classes and functions
16 */
17
18namespace nw4r { namespace snd
19{
20 class McsSoundArchive : public SoundArchive
21 {
22 class McsFileStream;
23 McsSoundArchive();
24 };
25
27 {
28 McsFileStream();
29 virtual ut::detail::RuntimeTypeInfo const *GetRuntimeTypeInfo() const { return 0; }
30 virtual void Close() {}
31 virtual s32 Read(void *, ulong) { return 0; }
32 virtual bool IsBusy() const { return 0; }
33 virtual bool CanAsync() const { return 0; }
34 virtual bool CanRead() const { return 0; }
35 virtual bool CanWrite() const { return 0; }
36 virtual ulong GetSize() const { return 0; }
37 virtual void Seek(s32, ulong) {}
38 virtual void Cancel() {}
39 virtual bool CancelAsync(StreamCallback *, void *) { return 0; }
40 virtual bool CanSeek() const { return 0; }
41 virtual bool CanCancel() const { return 0; }
42 virtual ulong Tell() const { return 0; }
43 friend class McsSoundArchive;
44 };
45}} // namespace nw4r::snd
46
47#endif // NW4R_SND_MCS_SOUND_ARCHIVE_H