Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469).
authorAsher Baker <asherkin@gmail.com>
Mon Sep 03 13:43:02 2012 +0100 (2012-09-03)
changeset 80390e35e1d67d3
parent 802 7f7cc0be5639
child 804 d3f430b326a1
Fixed include order issue introduced in 276192fd70a1 (bug 5079, bug 5469).
core/ISmmAPI.h
     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