Files
tp/include/JSystem/JKernel/JKRFileFinder/JKRFileFinder.h
T
Jonathan Wase fb1217e3f9 Types and functions for JKRThread, JKRFile, JKRDvdFile, JKRFileCache... (#17)
* Added JSUListIterator and decompiled JKRHeap::dispose_subroutine

* JKRDisposer!

* only 4 functions not OK in JKRHeap

* JKRThread asm functions

* more JKRThread

* JKRThreadSwitch

* JKRThread::JKRThread

* More JKRTHread functions and vtable

* fixed bad merge

* update JKRThread and JKRThreadSwitch to use new virtual inheritance

* save before asmsplit.py script

* JKRFile

* JKRDvdFile

* JKRFileCache

* JKRFileFinder

* JKRFileLoader

* JKRAssertHeap

* JKRExpHeap

* JKRSolidHeap

* fixed type and functions definitions

* JKRArchive (Pub)

* missed file

* JKRArchive

* forgot obj_files.mk

* fixed merge error and class members

* class members

* removed unused asm files

* added names to global variables

* class members for JKRHeap, JKRExpHeap, JKRSolidHeap, and JKRFileCache.
2020-12-05 12:45:10 -05:00

59 lines
1023 B
C++

#ifndef __JKRFILEFINDER_H__
#define __JKRFILEFINDER_H__
#include "dolphin/types.h"
struct JKRFileFinder_UnknownBase {
u32 field_0x0;
u32 field_0x4;
u16 field_0x8;
u16 field_0xa;
};
class JKRFileFinder : JKRFileFinder_UnknownBase {
public:
JKRFileFinder();
virtual ~JKRFileFinder();
virtual bool findNextFile(void) = 0;
bool isAvailable() {
return this->mIsAvailable;
}
private:
bool mIsAvailable;
bool field_0x11;
u8 padding_0x12[2];
};
class JKRArchive;
class JKRArcFinder : public JKRFileFinder {
public:
JKRArcFinder(JKRArchive*, long, long);
virtual ~JKRArcFinder();
virtual bool findNextFile(void);
private:
JKRArchive* mArchive;
u32 field_0x18;
u32 field_0x1c;
u32 field_0x20;
};
class JKRDvdFinder : public JKRFileFinder {
public:
JKRDvdFinder(char const*);
virtual ~JKRDvdFinder();
virtual bool findNextFile(void);
private:
u8 mDvd[12];
bool mDvdIsOpen;
u8 padding_0x21[3];
};
#endif