public/ISourceMod.h
changeset 484 d254e257cac2
parent 440 1d8333f9baed
child 653 ef60870067ff
     1.1 --- a/public/ISourceMod.h	Tue Feb 13 06:26:01 2007 +0000
     1.2 +++ b/public/ISourceMod.h	Tue Feb 13 16:11:04 2007 +0000
     1.3 @@ -24,6 +24,7 @@
     1.4  
     1.5  #include <IShareSys.h>
     1.6  #include <sp_vm_api.h>
     1.7 +#include <IDataPack.h>
     1.8  
     1.9  #define SMINTERFACE_SOURCEMOD_NAME		"ISourceMod"
    1.10  #define SMINTERFACE_SOURCEMOD_VERSION	1
    1.11 @@ -42,7 +43,7 @@
    1.12  	};
    1.13  
    1.14  	/**
    1.15 -	 * @brief Contains miscellanious helper functions.
    1.16 +	 * @brief Contains miscellaneous helper functions.
    1.17  	 */
    1.18  	class ISourceMod : public SMInterface
    1.19  	{
    1.20 @@ -61,14 +62,14 @@
    1.21  		 *
    1.22  		 * @return			A string containing the full mod path.
    1.23  		 */
    1.24 -		virtual const char *GetModPath() =0;
    1.25 +		virtual const char *GetModPath() const =0;
    1.26  
    1.27  		/**
    1.28  		 * @brief Returns the full path to the SourceMod directory.
    1.29  		 *
    1.30  		 * @return			A string containing the full SourceMod path.
    1.31  		 */
    1.32 -		virtual const char *GetSourceModPath() =0;
    1.33 +		virtual const char *GetSourceModPath() const =0;
    1.34  
    1.35  		/**
    1.36  		 * @brief Builds a platform path for a specific target base path.
    1.37 @@ -117,7 +118,6 @@
    1.38  									const cell_t *params,
    1.39  									unsigned int param) =0;
    1.40  
    1.41 -#if 0
    1.42  		/**
    1.43  		 * @brief Creates a data pack object.
    1.44  		 *
    1.45 @@ -144,7 +144,6 @@
    1.46  		 * @return			The Handle type for storing generic data packs.
    1.47  		 */
    1.48  		 virtual HandleType_t GetDataPackHandleType(bool readonly=false) =0;
    1.49 -#endif
    1.50  	};
    1.51  }
    1.52