core/ISmmAPI.h
changeset 803 90e35e1d67d3
parent 790 276192fd70a1
     1.1 --- a/core/ISmmAPI.h	Sat Aug 25 11:10:58 2012 -0500
     1.2 +++ b/core/ISmmAPI.h	Mon Sep 03 13:43:02 2012 +0100
     1.3 @@ -36,6 +36,16 @@
     1.4  #include <stdarg.h>
     1.5  #include <sourcehook.h>
     1.6  #include <IPluginManager.h>
     1.7 +
     1.8 +#if defined META_NO_HL2SDK
     1.9 +class CGlobalVars;
    1.10 +class IServerPluginCallbacks;
    1.11 +struct edict_t;
    1.12 +class ConCommandBase;
    1.13 +#else
    1.14 +#include <eiface.h>
    1.15 +#endif
    1.16 +
    1.17  #include <ISmmPlugin.h>
    1.18  #include <ISmmPluginExt.h>
    1.19  
    1.20 @@ -50,15 +60,6 @@
    1.21  #define MMIFACE_SH_HOOKMANAUTOGEN	"IHookManagerAutoGen"		/**< SourceHook::IHookManagerAutoGen Pointer */
    1.22  #define IFACE_MAXNUM			999						/**< Maximum interface version */
    1.23  
    1.24 -#if defined META_NO_HL2SDK
    1.25 -class CGlobalVars;
    1.26 -class IServerPluginCallbacks;
    1.27 -struct edict_t;
    1.28 -class ConCommandBase;
    1.29 -#else
    1.30 -#include <eiface.h>
    1.31 -#endif
    1.32 -
    1.33  typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
    1.34  
    1.35  namespace SourceMM