public/IForwardSys.h
changeset 327 e244337a9b38
parent 324 e23aca731e37
child 372 47f21574db6d
     1.1 --- a/public/IForwardSys.h	Fri Jan 19 05:48:08 2007 +0000
     1.2 +++ b/public/IForwardSys.h	Fri Jan 19 08:22:44 2007 +0000
     1.3 @@ -3,7 +3,9 @@
     1.4  
     1.5  #include <IForwardSys.h>
     1.6  #include <IPluginSys.h>
     1.7 -#include <IPluginFunction.h>
     1.8 +#include <sp_vm_api.h>
     1.9 +
    1.10 +using namespace SourcePawn;
    1.11  
    1.12  #define SMINTERFACE_FORWARDMANAGER_NAME		"IForwardManager"
    1.13  #define SMINTERFACE_FORWARDMANAGER_VERSION	1
    1.14 @@ -190,7 +192,7 @@
    1.15  		 * @param funcid	Function id to add.
    1.16  		 * @return			True on success, otherwise false.
    1.17  		 */
    1.18 -		virtual bool AddFunction(sp_context_t *ctx, funcid_t index) =0;
    1.19 +		virtual bool AddFunction(IPluginContext *ctx, funcid_t index) =0;
    1.20  	};
    1.21  
    1.22  	#define SP_PARAMTYPE_ANY	0