mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-12-24 08:04:50 +01:00
42 lines
790 B
C++
42 lines
790 B
C++
#ifndef __DEBUGGERUI_H
|
|
#define __DEBUGGERUI_H
|
|
|
|
#include <bfc/dispatch.h>
|
|
|
|
class MakiJITD;
|
|
|
|
/*-------------------------------------------
|
|
DebuggerUI
|
|
int messageLoop();
|
|
void setJITD(MakiJITD *jitd);
|
|
-------------------------------------------*/
|
|
|
|
class DebuggerUI : public Dispatchable {
|
|
public:
|
|
int messageLoop();
|
|
void setJITD(MakiJITD *jitd);
|
|
|
|
enum {
|
|
DEBUGGERUI_MESSAGELOOP = 0,
|
|
DEBUGGERUI_SETJITD = 10,
|
|
};
|
|
};
|
|
|
|
inline int DebuggerUI::messageLoop() {
|
|
return _call(DEBUGGERUI_MESSAGELOOP, (int)0);
|
|
}
|
|
|
|
inline void DebuggerUI::setJITD(MakiJITD *jitd) {
|
|
_voidcall(DEBUGGERUI_SETJITD, jitd);
|
|
}
|
|
|
|
class DebuggerUII : public DebuggerUI {
|
|
public:
|
|
virtual int messageLoop()=0;
|
|
virtual void setJITD(MakiJITD *jitd)=0;
|
|
|
|
protected:
|
|
RECVS_DISPATCH;
|
|
};
|
|
|
|
#endif |