public/IShareSys.h
changeset 3872 4c93f74cae51
parent 2841 dde3dd0b4b8b
child 4106 a39557bde4ac
     1.1 --- a/public/IShareSys.h	Fri Mar 29 12:28:02 2013 -0400
     1.2 +++ b/public/IShareSys.h	Fri Mar 29 11:37:29 2013 -0700
     1.3 @@ -38,7 +38,7 @@
     1.4   */
     1.5  
     1.6  #include <sp_vm_types.h>
     1.7 -
     1.8 +#include <sp_vm_api.h>
     1.9  
    1.10  namespace SourceMod
    1.11  {
    1.12 @@ -278,6 +278,19 @@
    1.13  		virtual void DropCapabilityProvider(IExtension *myself,
    1.14  		                                    IFeatureProvider *provider,
    1.15  		                                    const char *name) =0;
    1.16 +
    1.17 +		/**
    1.18 +		 * Tests for a feature.
    1.19 +		 *
    1.20 +		 * @param rt			Plugin to test.
    1.21 +		 * @param type			Feature type.
    1.22 +		 * @param name			Feature name.
    1.23 +		 * @return				Feature status.
    1.24 +		 */
    1.25 +		virtual FeatureStatus TestFeature(SourcePawn::IPluginRuntime *rt,
    1.26 +										  FeatureType type,
    1.27 +										  const char *name) =0;
    1.28 +
    1.29  	};
    1.30  }
    1.31