Files

29 lines
650 B
C++
Raw Permalink Normal View History

2014-01-31 08:23:00 +13:00
/* Win32 runtime dynamic link lib */
2019-01-18 21:27:35 +01:00
#pragma once
#include <streambuf>
#include <stdutil.hpp>
2014-01-31 08:23:00 +13:00
#include <windows.h>
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();