22 #ifndef BACKENDS_ABSTRACT_FS_H 23 #define BACKENDS_ABSTRACT_FS_H 25 #include "common/array.h" 26 #include "common/str.h" 27 #include "common/fs.h" 107 virtual bool exists()
const = 0;
219 #endif //BACKENDS_ABSTRACT_FS_H
virtual Common::U32String getDisplayName() const =0
virtual AbstractFSNode * getChild(const Common::String &name) const =0
virtual Common::String getName() const =0
static const char * lastPathComponent(const Common::String &str, const char sep)
virtual ~AbstractFSNode()
Definition: abstract-fs.h:102
virtual Common::SeekableReadStream * createReadStreamForAltStream(Common::AltStreamType altStreamType)
virtual bool isWritable() const =0
virtual bool isDirectory() const =0
static Common::FSNode makeFSNode(AbstractFSNode *realNode)
Definition: abstract-fs.h:95
ListMode
Definition: fs.h:86
virtual bool createDirectory()=0
virtual bool getChildren(AbstractFSList &list, ListMode mode, bool hidden) const =0
virtual Common::SeekableReadStream * createReadStream()=0
virtual bool isReadable() const =0
virtual AbstractFSNode * getParent() const =0
virtual Common::SeekableWriteStream * createWriteStream(bool atomic)=0
Definition: abstract-fs.h:41
virtual Common::String getPath() const =0