core/ISmmAPI.h
changeset 785 11aa8bb24378
parent 783 ba8cd35102b1
child 790 276192fd70a1
     1.1 --- a/core/ISmmAPI.h	Sun May 27 02:16:48 2012 +0100
     1.2 +++ b/core/ISmmAPI.h	Sun May 27 02:44:19 2012 +0100
     1.3 @@ -34,6 +34,8 @@
     1.4   */
     1.5  
     1.6  #include <stdarg.h>
     1.7 +#include <interface.h>
     1.8 +#include <eiface.h>
     1.9  #include <sourcehook.h>
    1.10  #include <IPluginManager.h>
    1.11  #include <ISmmPlugin.h>
    1.12 @@ -50,24 +52,6 @@
    1.13  #define MMIFACE_SH_HOOKMANAUTOGEN	"IHookManagerAutoGen"		/**< SourceHook::IHookManagerAutoGen Pointer */
    1.14  #define IFACE_MAXNUM			999						/**< Maximum interface version */
    1.15  
    1.16 -#if defined META_NO_HL2SDK
    1.17 -class CGlobalVars;
    1.18 -class IServerPluginCallbacks;
    1.19 -struct edict_t;
    1.20 -class ConCommandBase;
    1.21 -#else
    1.22 -#include <eiface.h>
    1.23 -#endif
    1.24 -
    1.25 -// Interface return status, binary-compatible with HL2SDK's IFACE_OK and IFACE_FAILED.
    1.26 -enum 
    1.27 -{
    1.28 -	META_IFACE_OK = 0,
    1.29 -	META_IFACE_FAILED
    1.30 -};
    1.31 -
    1.32 -typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode);
    1.33 -
    1.34  namespace SourceMM
    1.35  {
    1.36  	class ISmmPlugin;