sourcemm/ISmmAPI.h
branchsourcemm-1.6.0
changeset 366 cbfac4e86a2a
parent 359 9b3c625f3a83
child 367 fc76472b980f
     1.1 --- a/sourcemm/ISmmAPI.h	Sat Sep 29 15:01:32 2007 +0000
     1.2 +++ b/sourcemm/ISmmAPI.h	Sat Sep 29 15:35:59 2007 +0000
     1.3 @@ -343,6 +343,19 @@
     1.4  	 * @return				A SOURCE_ENGINE_* constant value.
     1.5  	 */
     1.6  	virtual int GetSourceEngineBuild() =0;
     1.7 +
     1.8 +	/**
     1.9 +	 * @brief Returns the VSP listener loaded.  
    1.10 +	 *
    1.11 +	 * This is useful for late-loading plugins which need to decide whether 
    1.12 +	 * to add a listener or not (or need to get the pointer at all).
    1.13 +	 *
    1.14 +	 * @param				Optional pointer to store the VSP version.
    1.15 +	 * @return				IServerPluginCallbacks pointer, or NULL if an
    1.16 +	 * 						IMetamodListener event has yet to occur for 
    1.17 +	 * 						EnableVSPListener().
    1.18 +	 */
    1.19 +	virtual IServerPluginCallbacks *GetVSPInfo(int *pVersion) =0;
    1.20  };
    1.21  
    1.22