Implemented amb286 - .smx extension no longer required with "sm plugins load"

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40800
This commit is contained in:
Scott Ehlert
2007-05-14 21:29:17 +00:00
parent a0486eea8c
commit 515be43896
4 changed files with 39 additions and 5 deletions
+9 -1
View File
@@ -29,7 +29,7 @@
namespace SourceMod
{
#define SMINTERFACE_LIBRARYSYS_NAME "ILibrarySys"
#define SMINTERFACE_LIBRARYSYS_VERSION 1
#define SMINTERFACE_LIBRARYSYS_VERSION 2
class ILibrary
{
@@ -173,6 +173,14 @@ namespace SourceMod
* @param ... Format string arguments.
*/
virtual size_t PathFormat(char *buffer, size_t maxlength, const char *pathfmt, ...) =0;
/**
* @brief Returns a pointer to the extension in a filename.
*
* @param filename Name of file from which the extension should be extracted.
* @return Pointer to file extension.
*/
virtual const char *GetFileExtension(const char *filename) =0;
};
}