core/DebugReporter.h
author David Anderson <dvander@alliedmods.net>
Thu Mar 15 04:45:17 2007 +0000 (2007-03-15)
changeset 616 d5b1dcf38c07
parent 592 c2a2c38f1331
child 653 ef60870067ff
permissions -rw-r--r--
refactored singleton class names
     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 DebugReport : 
    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 extern DebugReport g_DbgReporter;
    33 
    34 #endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
    35