driver/file.h: add isDir()

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7660fa52cb
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-09-30 (Tue, 30 Sep 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
[CST] Focus
2014-09-30 13:44:13 +04:00
parent 4dec2897ba
commit 794b3dc729

View File

@@ -41,7 +41,7 @@
#endif /* __USE_FILE__OFFSET64 */
#include <sys/types.h>
#include <sys/stat.h>
#include <string>
#include <vector>
@@ -74,6 +74,7 @@ public:
FileType getType(void) const;
std::string getFileName(void) const;
std::string getPath(void) const;
bool isDir(void) { return S_ISDIR(Mode); };
CFile();
off_t Size;