NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
ut_DvdLockedFileStream.h
1
#ifndef NW4R_UT_DVD_LOCKED_FILE_STREAM_H
2
#define NW4R_UT_DVD_LOCKED_FILE_STREAM_H
3
#include <nw4r/types_nw4r.h>
4
5
#include <nw4r/ut/ut_DvdFileStream.h>
6
7
#include <revolution/OS.h>
8
9
namespace
nw4r {
10
namespace
ut
{
11
12
class
DvdLockedFileStream :
public
DvdFileStream {
13
public
:
14
NW4R_UT_RTTI_DECL(DvdLockedFileStream);
15
16
public
:
17
explicit
DvdLockedFileStream(s32 entrynum);
18
DvdLockedFileStream(
const
DVDFileInfo
* pInfo,
bool
close);
19
virtual
~DvdLockedFileStream();
// at 0xC
20
21
virtual
s32 Read(
void
* pDst, ulong size);
// at 0x14
22
23
virtual
bool
ReadAsync(
void
*
/* pDst */
, ulong
/* size */
,
24
StreamCallback
/* pCallback */
,
25
void
*
/* pCallbackArg */
) {
26
27
return
false
;
28
}
// at 0x18
29
30
virtual
s32 Peek(
void
* pDst, ulong size);
// at 0x5C
31
32
virtual
bool
PeekAsync(
void
*
/* pDst */
, ulong
/* size */
,
33
StreamCallback
/* pCallback */
,
34
void
*
/* pCallbackArg */
) {
35
36
return
false
;
37
}
// at 0x60
38
39
virtual
bool
CanAsync()
const
{
40
return
false
;
41
}
// at 0x28
42
43
private
:
44
static
void
InitMutex_();
45
46
private
:
47
bool
mCancelFlag;
// at 0x6F
48
49
static
bool
sInitialized;
50
static
OSMutex
sMutex;
51
};
52
53
}
// namespace ut
54
}
// namespace nw4r
55
#endif
nw4r::ut
Debugging library which includes various utilities used by the rest of nw4r.
Definition
ut_list.cpp:4
DVDFileInfo
Definition
dvd.h:85
OSMutex
Definition
OSMutex.h:9
include
lib
nw4r
ut
ut_DvdLockedFileStream.h
Made with ❤️ by
CLF78
and
RootCubed
. Logos by
Chasical
and
B1
. Website generated by
Doxygen
1.13.2