diff -r 62e002cdecdb -r ba8cd35102b1 core/ISmmAPI.h --- a/core/ISmmAPI.h Wed Mar 21 21:02:15 2012 -0500 +++ b/core/ISmmAPI.h Sun May 27 02:16:08 2012 +0100 @@ -34,8 +34,6 @@ */ #include -#include -#include #include #include #include @@ -52,6 +50,24 @@ #define MMIFACE_SH_HOOKMANAUTOGEN "IHookManagerAutoGen" /**< SourceHook::IHookManagerAutoGen Pointer */ #define IFACE_MAXNUM 999 /**< Maximum interface version */ +#if defined META_NO_HL2SDK +class CGlobalVars; +class IServerPluginCallbacks; +struct edict_t; +class ConCommandBase; +#else +#include +#endif + +// Interface return status, binary-compatible with HL2SDK's IFACE_OK and IFACE_FAILED. +enum +{ + META_IFACE_OK = 0, + META_IFACE_FAILED +}; + +typedef void* (*CreateInterfaceFn)(const char *pName, int *pReturnCode); + namespace SourceMM { class ISmmPlugin;