mirror of
https://github.com/zeldaret/tww.git
synced 2026-10-10 05:51:42 -04:00
a6bf2ff16b
* Add debug-only HIO TUs based on TP decomp * Remove dump_sort
38 lines
852 B
C++
38 lines
852 B
C++
#ifndef JORREFLEXIBLE_H
|
|
#define JORREFLEXIBLE_H
|
|
|
|
#include "dolphin/types.h"
|
|
#include "JSystem/JHostIO/JORServer.h"
|
|
|
|
struct JOREvent;
|
|
struct JORPropertyEvent;
|
|
struct JORGenEvent;
|
|
struct JORNodeEvent;
|
|
|
|
class JORMContext;
|
|
class JORServer;
|
|
|
|
class JOREventListener {
|
|
public:
|
|
#if DEBUG
|
|
JOREventListener() {}
|
|
virtual void listenPropertyEvent(const JORPropertyEvent*) = 0;
|
|
#endif
|
|
};
|
|
|
|
class JORReflexible : public JOREventListener {
|
|
public:
|
|
#if DEBUG
|
|
JORReflexible() {}
|
|
static JORServer* getJORServer() { return JORServer::getInstance(); }
|
|
|
|
virtual void listenPropertyEvent(const JORPropertyEvent*);
|
|
virtual void listen(u32, const JOREvent*);
|
|
virtual void genObjectInfo(const JORGenEvent*);
|
|
virtual void genMessage(JORMContext*) = 0;
|
|
virtual void listenNodeEvent(const JORNodeEvent*);
|
|
#endif
|
|
};
|
|
|
|
#endif /* JORREFLEXIBLE_H */
|