Files
BlitzNext/Runtime/bbruntime_dll.hpp
T
Michael Fabian 'Xaymar' Dirks 2196cb8419 runtime: Formatting
2019-01-18 17:04:17 +01:00

30 lines
671 B
C++

/* Win32 runtime dynamic link lib */
#ifndef BBRUNTIME_DLL_H
#define BBRUNTIME_DLL_H
#include <windows.h>
#include "stdutil.hpp"
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();
#endif