core/DebugReporter.h
author David Anderson <dvander@alliedmods.net>
Fri Jun 08 01:09:17 2007 +0000 (2007-06-08)
changeset 922 980941c525fa
parent 653 ef60870067ff
child 1231 17badaf66ce4
permissions -rw-r--r--
sm_kick now uses targeting properly
     1 /**
     2  * vim: set ts=4 :
     3  * ===============================================================
     4  * SourceMod (C)2004-2007 AlliedModders LLC.  All rights reserved.
     5  * ===============================================================
     6  *
     7  * This file is not open source and may not be copied without explicit
     8  * written permission of AlliedModders LLC.  This file may not be redistributed 
     9  * in whole or significant part.
    10  * For information, see LICENSE.txt or http://www.sourcemod.net/license.php
    11  *
    12  * Version: $Id$
    13  */
    14 
    15 #ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
    16 #define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
    17 
    18 #include "sp_vm_api.h"
    19 #include "sm_globals.h"
    20 
    21 class DebugReport : 
    22 	public SMGlobalClass, 
    23 	public IDebugListener
    24 {
    25 public: // SMGlobalClass
    26 	void OnSourceModAllInitialized();
    27 public: // IDebugListener
    28 	void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error);
    29 private:
    30 	int _GetPluginIndex(IPluginContext *ctx);
    31 };
    32 
    33 extern DebugReport g_DbgReporter;
    34 
    35 #endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
    36