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:
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user