core/CDbgReporter.h
author David Anderson <dvander@alliedmods.net>
Wed Jan 17 06:49:59 2007 +0000 (2007-01-17)
changeset 308 f0e65f92cb34
parent 288 d89bf250dac4
child 351 7c219cde57e7
permissions -rw-r--r--
Redesigned how server commands work. The "plugins" command will be back soon.
     1 #ifndef _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
     2 #define _INCLUDE_SOURCEMOD_CDBGREPORTER_H_
     3 
     4 #include "sp_vm_api.h"
     5 #include "sm_globals.h"
     6 
     7 class CDbgReporter : 
     8 	public SMGlobalClass, 
     9 	public IDebugListener
    10 {
    11 public: // SMGlobalClass
    12 	void OnSourceModAllInitialized();
    13 public: // IDebugListener
    14 	void OnContextExecuteError(IPluginContext *ctx, IContextTrace *error);
    15 private:
    16 	int _GetPluginIndex(IPluginContext *ctx);
    17 };
    18 
    19 #endif // _INCLUDE_SOURCEMOD_CDBGREPORTER_H_