added a new function to ILibrarySys

added define in SDK for LIBRARYSYS

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401198
This commit is contained in:
David Anderson
2007-07-27 18:24:09 +00:00
parent fa07c9d8a2
commit 1154b20fc9
7 changed files with 25 additions and 4 deletions
+1 -1
View File
@@ -349,7 +349,7 @@ const char *LibrarySystem::GetFileExtension(const char *filename)
return NULL;
}
bool LibrarySystem::CreateDirectory(const char *path)
bool LibrarySystem::CreateFolder(const char *path)
{
#if defined PLATFORM_WINDOWS
return (mkdir(path) != -1);
+1 -1
View File
@@ -75,7 +75,7 @@ public:
void GetPlatformError(char *error, size_t maxlength);
size_t PathFormat(char *buffer, size_t len, const char *fmt, ...);
const char *GetFileExtension(const char *filename);
bool CreateDirectory(const char *path);
bool CreateFolder(const char *path);
size_t GetFileFromPath(char *buffer, size_t maxlength, const char *path);
};