Files
BlitzNext/Runtime/bbruntime_dll.hpp
T
Michael Fabian 'Xaymar' Dirks 7f54ca5f55 runtime: Fix up linking and code
2019-01-18 21:27:35 +01:00

29 lines
650 B
C++

/* Win32 runtime dynamic link lib */
#pragma once
#include <streambuf>
#include <stdutil.hpp>
#include <windows.h>
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();