/* Win32 runtime dynamic link lib */ #pragma once #include #include #include class Debugger; 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); }; extern "C" _declspec(dllexport) Runtime* _cdecl runtimeGetRuntime();