public/ISourceMod.h
changeset 733 8ef13a48d102
parent 729 110c14c99545
child 735 249a3babc5ac
     1.1 --- a/public/ISourceMod.h	Thu May 03 05:27:22 2007 +0000
     1.2 +++ b/public/ISourceMod.h	Fri May 04 01:28:08 2007 +0000
     1.3 @@ -168,6 +168,20 @@
     1.4  		 * @return			A string containing the name of the game directory.
     1.5  		 */
     1.6  		virtual const char *GetGameFolderName() const =0;
     1.7 +
     1.8 +		/**
     1.9 +		 * @brief Returns the scripting engine interface.
    1.10 +		 *
    1.11 +		 * @return			A pointer to the scripting engine interface.
    1.12 +		 */
    1.13 +		virtual SourcePawn::ISourcePawnEngine *GetScriptingEngine() =0;
    1.14 +
    1.15 +		/**
    1.16 +		 * @brief Returns the JIT interface.
    1.17 +		 *
    1.18 +		 * @return			A pointer to the JIT interface.
    1.19 +		 */
    1.20 +		virtual SourcePawn::IVirtualMachine *GetScriptingVM() =0;
    1.21  	};
    1.22  }
    1.23