| author | Scott Ehlert <ds@alliedmods.net> |
| Thu Feb 08 21:41:28 2007 +0000 (2007-02-08) | |
| changeset 457 | 9b8a85bf4175 |
| parent 370 | d3a484f98f6d |
| child 462 | 014aad37c7b4 |
| permissions | -rw-r--r-- |
| dvander@370 | 1 |
/** |
| dvander@370 | 2 |
* =============================================================== |
| dvander@370 | 3 |
* SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved. |
| dvander@370 | 4 |
* =============================================================== |
| dvander@370 | 5 |
* |
| dvander@370 | 6 |
* This file is not open source and may not be copied without explicit |
| dvander@370 | 7 |
* written permission of AlliedModders LLC. This file may not be redistributed |
| dvander@370 | 8 |
* in whole or significant part. |
| dvander@370 | 9 |
* For information, see LICENSE.txt or http://www.sourcemod.net/license.php |
| dvander@370 | 10 |
* |
| dvander@370 | 11 |
* Version: $Id$ |
| dvander@370 | 12 |
*/ |
| dvander@370 | 13 |
|
| faluco@288 | 14 |
#ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |
| faluco@288 | 15 |
#define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |
| faluco@288 | 16 |
|
| faluco@288 | 17 |
#include "sp_vm_api.h" |
| faluco@288 | 18 |
#include "sm_globals.h" |
| faluco@288 | 19 |
|
| faluco@288 | 20 |
class CDbgReporter : |
| faluco@288 | 21 |
public SMGlobalClass, |
| faluco@288 | 22 |
public IDebugListener |
| faluco@288 | 23 |
{ |
| faluco@288 | 24 |
public: // SMGlobalClass |
| faluco@288 | 25 |
void OnSourceModAllInitialized(); |
| faluco@288 | 26 |
public: // IDebugListener |
| faluco@288 | 27 |
void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error); |
| faluco@288 | 28 |
private: |
| faluco@288 | 29 |
int _GetPluginIndex(IPluginContext *ctx); |
| faluco@288 | 30 |
}; |
| faluco@288 | 31 |
|
| dvander@351 | 32 |
#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_ |
| dvander@351 | 33 |