Files
BlitzNext/Runtime/bbruntime_dll.hpp
T

30 lines
671 B
C++
Raw Normal View History

2014-01-31 08:23:00 +13:00
/* Win32 runtime dynamic link lib */
#ifndef BBRUNTIME_DLL_H
#define BBRUNTIME_DLL_H
#include <windows.h>
2019-01-18 15:55:06 +01:00
#include "stdutil.hpp"
2014-01-31 08:23:00 +13:00
class Debugger;
2019-01-18 17:04:17 +01:00
class Runtime {
public:
virtual int version();
virtual const char* nextSym();
virtual int symValue(const char* sym);
virtual void startup(HINSTANCE hinst);
virtual void shutdown();
virtual void asyncStop();
virtual void asyncRun();
virtual void asyncEnd();
virtual void checkmem(std::streambuf* buf);
virtual void execute(void (*pc)(), const char* args, Debugger* dbg);
2014-01-31 08:23:00 +13:00
};
2019-01-18 17:04:17 +01:00
extern "C" _declspec(dllexport) Runtime* _cdecl runtimeGetRuntime();
2014-01-31 08:23:00 +13:00
#endif