it's fat!
Fork of FATFileSystem by
Diff: FATDirHandle.h
- Revision:
- 10:28e685e5ff7f
- Parent:
- 1:46ce1e16c870
diff -r e2ab678eb692 -r 28e685e5ff7f FATDirHandle.h --- a/FATDirHandle.h Sat Jul 30 20:47:51 2016 +0000 +++ b/FATDirHandle.h Mon Jul 10 15:37:41 2017 +0000 @@ -36,6 +36,12 @@ virtual off_t telldir(); virtual void seekdir(off_t location); + virtual ssize_t read(struct dirent *ent); + virtual int close() { return closedir(); }; + virtual void seek(off_t offset) { seekdir(offset); }; + virtual off_t tell() { return telldir(); }; + virtual void rewind() { rewinddir(); }; + private: FATFS_DIR dir; struct dirent cur_entry;