core/CDbgReporter.h
changeset 288 d89bf250dac4
child 351 7c219cde57e7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/core/CDbgReporter.h	Fri Jan 12 23:56:02 2007 +0000
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
     1.5 +#define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
     1.6 +
     1.7 +#include "sp_vm_api.h"
     1.8 +#include "sm_globals.h"
     1.9 +
    1.10 +class CDbgReporter : 
    1.11 +	public SMGlobalClass, 
    1.12 +	public IDebugListener
    1.13 +{
    1.14 +public: // SMGlobalClass
    1.15 +	void OnSourceModAllInitialized();
    1.16 +public: // IDebugListener
    1.17 +	void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error);
    1.18 +private:
    1.19 +	int _GetPluginIndex(IPluginContext *ctx);
    1.20 +};
    1.21 +
    1.22 +#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
    1.23 \ No newline at end of file