mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-09 12:05:52 -04:00
ebd329b188
i previously had a bad habit of using double underscores in include guard macro names, which are implementation-reserved per the C++98 standard (see 17.4.3.1.2 Global names). Co-authored-by: Pheenoh <pheenoh@gmail.com>
29 lines
776 B
C++
29 lines
776 B
C++
#ifndef JKRCOMPARCHIVE_H_
|
|
#define JKRCOMPARCHIVE_H_
|
|
|
|
#include "JSystem/JKernel/JKRArchive/JKRArchive.h"
|
|
#include "dolphin/types.h"
|
|
|
|
class JKRCompArchive : public JKRArchive {
|
|
public:
|
|
JKRCompArchive(long, JKRArchive::EMountDirection);
|
|
virtual ~JKRCompArchive();
|
|
|
|
void open(long);
|
|
|
|
/* vt[09] */ void removeResourceAll(void); /* override */
|
|
/* vt[10] */ bool removeResource(void*); /* override */
|
|
|
|
/* vt[15] */ u32 getExpandedResSize(const void*); /* override */
|
|
/* vt[16] */ void* fetchResource(SDIFileEntry*, u32*); /* override */
|
|
/* vt[17] */ void* fetchResource(void*, u32, SDIFileEntry*, u32*); /* override */
|
|
|
|
public:
|
|
private:
|
|
/* 0x00 */ // vtable
|
|
/* 0x04 */ // JKRArchive
|
|
u8 unk[36];
|
|
};
|
|
|
|
#endif
|