1.1 --- a/core/CConVarManager.h Tue Feb 13 19:20:48 2007 +0000
1.2 +++ b/core/CConVarManager.h Wed Feb 14 01:25:45 2007 +0000
1.3 @@ -16,10 +16,11 @@
1.4
1.5 #include "sm_globals.h"
1.6 #include "sourcemm_api.h"
1.7 -#include "HandleSys.h"
1.8 -#include "ForwardSys.h"
1.9 #include "sm_trie.h"
1.10 #include <sh_list.h>
1.11 +#include <IPluginSys.h>
1.12 +#include <IForwardSys.h>
1.13 +#include <IHandleSys.h>
1.14 #include <IRootConsoleMenu.h>
1.15
1.16 using namespace SourceHook;
1.17 @@ -38,6 +39,7 @@
1.18 class CConVarManager :
1.19 public SMGlobalClass,
1.20 public IHandleTypeDispatch,
1.21 + public IPluginsListener,
1.22 public IRootConsoleCommand
1.23 {
1.24 public:
1.25 @@ -48,6 +50,8 @@
1.26 void OnSourceModShutdown();
1.27 public: // IHandleTypeDispatch
1.28 void OnHandleDestroy(HandleType_t type, void *object);
1.29 +public: // IPluginsListener
1.30 + void OnPluginDestroyed(IPlugin *plugin);
1.31 public: //IRootConsoleCommand
1.32 void OnRootConsoleCommand(const char *command, unsigned int argcount);
1.33 public: