From edd7363eddc9f6ef6a7f798a092500b328d5a7f3 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Wed, 18 Sep 2013 18:43:03 +0200 Subject: Proper folder / file distinction in plugin loading. --- source/OSSupport/File.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/OSSupport/File.h') diff --git a/source/OSSupport/File.h b/source/OSSupport/File.h index 8a057afa8..d4ea0d3a8 100644 --- a/source/OSSupport/File.h +++ b/source/OSSupport/File.h @@ -99,6 +99,9 @@ public: /// Renames a file, returns true if successful. May fail if dest already exists (libc-dependant)! static bool Rename(const AString & a_OrigFileName, const AString & a_NewFileName); + /// Returns true if the specified path is a folder + static bool IsFolder(const AString & a_Path); + int Printf(const char * a_Fmt, ...); private: -- cgit v1.2.3