sourcemm/ISmmAPI.h
changeset 139 84948190c34b
parent 138 dfa3b31cc042
child 152 179336f55ff6
     1.1 --- a/sourcemm/ISmmAPI.h	Thu Oct 20 14:37:47 2005 +0000
     1.2 +++ b/sourcemm/ISmmAPI.h	Thu Oct 20 14:52:49 2005 +0000
     1.3 @@ -68,8 +68,15 @@
     1.4  	virtual void GetShVersions(int &shvers, int &shimpl) =0;
     1.5  	//Binds an event listener to your plugin
     1.6  	virtual void AddListener(ISmmPlugin *plugin, IMetamodListener *pListener) =0;
     1.7 -	//Queries the metamod factory
     1.8 -	virtual void *MetaFactory(const char *iface, int *ret) =0;
     1.9 +	/**
    1.10 +	  * @brief Queries the metamod factory
    1.11 +	  *
    1.12 +	  * @param iface	String containing interface name
    1.13 +	  * @param ret		Optional pointer to store return status
    1.14 +	  * @param id		Optional pointer to store id of plugin that overrode interface, 0 if none
    1.15 +	  * @return			Returned pointer
    1.16 +	  */
    1.17 +	virtual void *MetaFactory(const char *iface, int *ret, PluginId *id) =0;
    1.18  };
    1.19  
    1.20