1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/core/DebugReporter.h Sat Mar 10 21:26:04 2007 +0000
1.3 @@ -0,0 +1,35 @@
1.4 +/**
1.5 + * ===============================================================
1.6 + * SourceMod (C)2004-2007 AlliedModders LLC. All rights reserved.
1.7 + * ===============================================================
1.8 + *
1.9 + * This file is not open source and may not be copied without explicit
1.10 + * written permission of AlliedModders LLC. This file may not be redistributed
1.11 + * in whole or significant part.
1.12 + * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
1.13 + *
1.14 + * Version: $Id$
1.15 + */
1.16 +
1.17 +#ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
1.18 +#define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
1.19 +
1.20 +#include "sp_vm_api.h"
1.21 +#include "sm_globals.h"
1.22 +
1.23 +class CDbgReporter :
1.24 + public SMGlobalClass,
1.25 + public IDebugListener
1.26 +{
1.27 +public: // SMGlobalClass
1.28 + void OnSourceModAllInitialized();
1.29 +public: // IDebugListener
1.30 + void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error);
1.31 +private:
1.32 + int _GetPluginIndex(IPluginContext *ctx);
1.33 +};
1.34 +
1.35 +extern CDbgReporter g_DbgReporter;
1.36 +
1.37 +#endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
1.38 +