Files
BlitzNext/Runtime/bbruntime_dll.hpp
T
Michael Fabian 'Xaymar' Dirks 24788185aa runtime: CMake-ify
2019-01-18 15:55:06 +01:00

30 lines
618 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