2007-01-13 00:56:02 +01:00
|
|
|
#ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
|
|
|
|
#define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
|
|
|
|
|
|
|
|
#include "sp_vm_api.h"
|
|
|
|
#include "sm_globals.h"
|
|
|
|
|
|
|
|
class CDbgReporter :
|
|
|
|
public SMGlobalClass,
|
|
|
|
public IDebugListener
|
|
|
|
{
|
|
|
|
public: // SMGlobalClass
|
|
|
|
void OnSourceModAllInitialized();
|
|
|
|
public: // IDebugListener
|
|
|
|
void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error);
|
|
|
|
private:
|
|
|
|
int _GetPluginIndex(IPluginContext *ctx);
|
|
|
|
};
|
|
|
|
|
2007-01-25 10:19:38 +01:00
|
|
|
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
|
|
|
|
|