22 #ifndef LIBRETRO_FILESYSTEM_H 23 #define LIBRETRO_FILESYSTEM_H 25 #include "backends/fs/abstract-fs.h" 28 #include <sys/types.h> 63 virtual bool exists()
const {
64 return access(_path.c_str(), F_OK) == 0;
76 return _isDirectory && _isReadable;
98 virtual void setFlags();
virtual Common::String getPath() const
Definition: libretro-fs.h:72
virtual AbstractFSNode * getChild(const Common::String &n) const
virtual bool isDirectory() const
Definition: libretro-fs.h:75
virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const
Definition: libretro-fs.h:37
virtual Common::SeekableWriteStream * createWriteStream(bool atomic)
virtual bool createDirectory()
virtual AbstractFSNode * getParent() const
virtual Common::String getName() const
Definition: libretro-fs.h:69
ListMode
Definition: fs.h:86
virtual Common::SeekableReadStream * createReadStream()
LibRetroFilesystemNode()
Definition: libretro-fs.h:53
virtual Common::U32String getDisplayName() const
Definition: libretro-fs.h:66
virtual bool isWritable() const
Definition: libretro-fs.h:81
Definition: abstract-fs.h:41
virtual bool isReadable() const
Definition: libretro-fs.h:78