| author | David Anderson <dvander@alliedmods.net> |
| Tue Jan 16 20:36:09 2007 +0000 (2007-01-16) | |
| changeset 300 | 186b2f7bf277 |
| parent 288 | d89bf250dac4 |
| child 351 | 7c219cde57e7 |
| permissions | -rw-r--r-- |
| faluco@288 | 1 |
#ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |
| faluco@288 | 2 |
#define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |
| faluco@288 | 3 |
|
| faluco@288 | 4 |
#include "sp_vm_api.h" |
| faluco@288 | 5 |
#include "sm_globals.h" |
| faluco@288 | 6 |
|
| faluco@288 | 7 |
class CDbgReporter : |
| faluco@288 | 8 |
public SMGlobalClass, |
| faluco@288 | 9 |
public IDebugListener |
| faluco@288 | 10 |
{ |
| faluco@288 | 11 |
public: // SMGlobalClass |
| faluco@288 | 12 |
void OnSourceModAllInitialized(); |
| faluco@288 | 13 |
public: // IDebugListener |
| faluco@288 | 14 |
void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error); |
| faluco@288 | 15 |
private: |
| faluco@288 | 16 |
int _GetPluginIndex(IPluginContext *ctx); |
| faluco@288 | 17 |
}; |
| faluco@288 | 18 |
|
| faluco@288 | 19 |
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |