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